connection = GoogleDrive.login("vg123#gmail.com","acbshaka" )
*** GoogleDrive::AuthenticationError Exception: Authentication failed for vg123#gmail.com: Response code 404 for post https://www.google.com/accounts/ClientLogin: https://developers.google.com/accounts/docs/AuthForInstalledApps
Please Help me I just want to upload csv file to my personal drive from rails code on server side in background process.................Please help me
Use OAuth instead of it, login is deprecated so long back
Related
I am working on allowing users to log in to my website using Yahoo. I have intermittent problems with Yahoo Oauth2. I will generate the url to request the authorization code and it will get to the Yahoo login sometimes. Other times I will get the window with "Uh oh Looks like something went wrong. Please try again later. Developers: Please specify a valid request and submit again." and the url will have error=invalid_request&error_description=invalid+redirect+uri
My request url is configured on the yahoo console. Also I am using https on a server connected to the internet (not a local machine)
My request authorization was created using the one in https://developer.yahoo.com/sign-in-with-yahoo
I have
https://api.login.yahoo.com/oauth2/request_auth?
client_id={MY CLIENT D}
&scope=openid
&nonce=4c29ac770b9b1d795b
&prompt=consent
&response_type=code
&redirect_uri=https%3A%2F%2F{MY WEB SITE}%2Fcallback_yahoo.php
I am out of ideas at this point.
Thank you
Apparently (maybe) something was wrong on Yahoos side. I created another application with the SAME configuration and the problem seem to have gone away.
I have a simple flow where callers record a message using the "Record Voicemail" widget, then I post the execution's Flow SID, the Execution SID, and the Call SID to my PHP app so I can download the recorded MP3.
The PHP app successfully gets the POSTed data, but when I try to use:
$execution_context = $client->studio->v2->flows("$flowSid")
->executions("$executionSid")
->executionContext()
->fetch();
I'm getting this error in the logs, isn't super clear (to me, anyway :-) :
mod_fcgid: stderr: PHP Fatal error: Uncaught Twilio\Exceptions\RestException: [HTTP 404] Unable to fetch record: The requested resource /Flows//Executions//Context was not found in /home/me/public_html/vendor/twilio/src/Twilio/Version.php:88
The context is available if I enter that same FlowSid and ExecutionSid into the Console API Explorer, I just don't seem to be able to get it in my app using the PHP library.
Thanks for any help or suggestions!
I am receiving the following error on uploading the actions.json to gactions using Windows as well as Linux.
ERROR: Failed to update the app for the Assistant
ERROR: The caller does not have permission
2019/04/13 13:56:47 Server did not return HTTP 200
Account used to upload action is same as the one used to create project.
I am able to get the verification code and once I paste back in terminal to authenticate it gives the above error.
Can someone please guide what is to be done exactly, I am using the below guide on google
https://developers.google.com/assistant/sdk/guides/library/python/extend/custom-actions
Dears, I'm trying to access this URL through my browser: https://localhost:9443/services/OAuth2TokenValidationService?wsdl
But I'm getting error 403
I followed everything based on this doc,
please someone help me.
If you set <HideAdminServiceWSDLs>false</HideAdminServiceWSDLs> and restart the server this should work.
First understand what the 403 error means.
The error (HTTP 403 Forbidden) means that the browser was able to connect to the website, but it does not have permission to view the webpage.
So, check the user under which the process is running. If that user is not having the right permissions, then this error will pop out.
Kill the process id, and start the server with the correct user who is having the right permissions.
I recently got oAuth working for my iOS app to log in to Tumblr. Now I'm having trouble posting using the new API calls. I'm able to generate a request and prepare Autorization headers but I'm still getting errors.
Here is my URL:
http://api.tumblr.com/v2/blog/my_blog.tumblr.com/post?tweet=no&tags=my%2C%20app&state=published&type=text&title=Hello&body=I%2520finally%2520got%2520this%2520to%2520work
Here is my Authorization header with x's in place of sensitive info:
Authorization = "OAuth realm=\"\", oauth_consumer_key=\"XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX\", oauth_token=\"XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX\", oauth_signature_method=\"HMAC-SHA1\", oauth_signature=\"XXXXXXXXXXXXXXXXXXXXXXXXX\", oauth_timestamp=\"1347656207\", oauth_nonce=\"XXXXXXXX-XXXX-XXXX-XXXX-XXXXXXXXXXXX\", oauth_version=\"1.0\"";
There error I receive:
{"meta":{"status":400,"msg":"Bad Request"},"response":{"errors":["Post cannot be empty."]}}
Does anyone have experience with this? I've been working at it for at least 20 hours over a two day period.
Any help is greatly appreciated.
EDIT: I've also tried including authorization data in the url (i.e., oauth_token, oauth_consumer_key), essentially the stuff found in the header. When I do this I get a 401 "Not Authorized" error, which I know isn't correct because I just successfully called "http://api.tumblr.com/v2/user/info" which requires a valid authorization.
found solution, see explanation here.