FuelSDK-Python icon indicating copy to clipboard operation
FuelSDK-Python copied to clipboard

Error authenticating with FuelSDK-Python

Open timsim00 opened this issue 10 years ago • 2 comments

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.

timsim00 avatar Feb 24 '15 20:02 timsim00

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!

ottonello avatar Oct 06 '17 08:10 ottonello

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.

tdalis avatar Feb 16 '19 03:02 tdalis