You need to sign in to do that
Don't have an account?
HTTP Status 401: Authentication Failed: OAuth login invalid or expired access token
I'm working with the Force.com Integration Workbook. Everything is fine until I get to Tutorial #3!
The workbook talks about setting up Remote Access; however Remote Access is no longer available and you're redirected back to App | Connected Apps. At this point the workbook doesn't match the latest version of Salesforce (Summer 13).
Additionally, in Tutorial 3, Step 2, I cannot get the OAuth to work! I get the error:
HTTP Status 401: Authentication Failed: OAuth login invalid or expired access token
I've set this up twice and I'm following the steps "exactly" as they are laid out in the workbook. Was wondering if anyone else has come across this and if I'm simply missing something. I'm pretty new to the coding side of SFDC; so I'm working through these workbooks to try and get a better understanding!
Thank you!
The issue is the permission. Go to apps ( instead of remote access ) and then under the section "oAuth Settings " give full access for "Selected OAuth Scopes" i.e.
Provide access to custom applications (visualforce)
Perform requests on your behalf at any time (refresh_token)
Access your basic information (id)
Provide access to your data via the Web (web)
Access and manage your data (api)
Access and manage your Chatter feed (chatter_api)
Full access (full)
Along with this under "Supported App Types" section keep "Access Method" as "OAuth Webflow (GET)"
I also deployed to Heroku on that first day, but I had set the wrong values for tyhe environment variables, so I don't know if it would have worked otherwise. In any case, after I fixed that on the next day, I had the same symptom as on localhost that day. I got "HTTP Status 401 - Authentication Failed: OAuth login invalid or expired access token".
Thanks.
Thank you
This discussion is very helpful for me. If you need more interesting topics like this then click here (https://docs.google.com/spreadsheets/d/16JiczLgCNMyrg8YVCNn6f05QdShWete9YkG4YhBzFeg/edit#gid=0).