You need to sign in to do that
Don't have an account?
shufflepoint
Using oauth token on a deveopment server
When I use the OAuth token for a REST call from a development server, I am getting an HTTP 403 'Forbidden' response. It works fine on the production server where the token was obtained. Is there some way to get this to work?
What does the body of the http response say? do you have the "sessions locked to originating IP' feature turned on?
The body was
<?xml version="1.0" encoding="UTF-8"?>
<Errors>
<Error>
<errorCode>API_DISABLED_FOR_ORG</errorCode>
<message>The REST API is not enabled for this Organization.</message>
</Error>
</Errors>
which let me to see that I was not in fact using the same key. Thanks for pointing me in the right direction.