salesforce-marketingcloud / FuelSDK-Python

FuelSDK for python
Other
127 stars 194 forks source link

Error authenticating with FuelSDK-Python #39

Open timsim00 opened 9 years ago

timsim00 commented 9 years ago

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 commented 6 years ago

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 commented 5 years ago

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.