Skip to content
This repository has been archived by the owner on Jan 20, 2024. It is now read-only.

Error authenticating with FuelSDK-Python #39

Open
timsim00 opened this issue Feb 24, 2015 · 2 comments
Open

Error authenticating with FuelSDK-Python #39

timsim00 opened this issue Feb 24, 2015 · 2 comments

Comments

@timsim00
Copy link

User verified locally that removing the scope key/value pair eliminates the error.

A user is experiencing this issue.  Wondering if the if/else at client.py:181 is out of date as it still uses "scope."

I've received the following exception against both the test and production APIs.

Exception: Unable to validate App Keys(ClientID/ClientSecret) provided: {'errorcode': 1, 'message': 'Unauthorized', 'documentation': ''}
We've been using Sentry to log the errors so I've seen this exception 31k times. I've ensured that I have the correct client id and client secret in all environments. The request seems to work fine to initially retrieve an access token, but then fails when refreshToken and scope are included in the json request payload.

The SE question here.

@ottonello
Copy link

What's the status of this client? There seems to be very little maintenance going on. It'd be nice very to have this fixed soon!

@tdalis
Copy link

tdalis commented Feb 16, 2019

I'm facing the validation problem but my client.py doesn't have a scope key value. Any ideas what the problem might be? I know this thread is about 2 years old but I really hope someone can get in touch soon because I need to deliver the script before Monday and i'm stuck.

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants