Rainu_Ittycheriah | 2021-01-25 14:51:58 UTC | #1
Hi all, I hope your week is off to a good start. I'm working through a data ingestion integration, and until this morning, my client code seemed to be able to authenticate properly utilizing the client credentials method and pull back data successfully. However, as of this morning, the same code from last week is failing to properly grab an access token. The 400 response I'm getting back looks like:
HTTP response body: {"error":"invalid_client","description":"authentication failed","error_description":"authentication failed"}
I'm using the Python SDK's latest version and following the code example here: https://developer.mypurecloud.com/api/rest/client-libraries/python/.
anon11147534 | 2021-01-25 16:19:57 UTC | #2
Hi,
I've just checked and I have no issue authenticating using client credentials with the Python SDK. You should check that the credentials you are using to authenticate are still valid. It's possible that another user might have changed them recently.
Rainu_Ittycheriah | 2021-01-25 16:26:00 UTC | #3
Hi Ronan, Thanks for the quick response. I confirmed with our Genesys administrator who setup these credentials that they haven't been altered. I'll keep trying on my end.
I re-ran the same attempt to get a token, and I ran into the same error. What else I can try? Or common root causes for the error?
Rainu_Ittycheriah | 2021-01-25 16:37:14 UTC | #4
Apologies. I sorted it out. Somehow I missed a character. Thanks again for your help!
Best, Rainu
system | 2021-02-25 16:37:15 UTC | #5
This topic was automatically closed 31 days after the last reply. New replies are no longer allowed.
This post was migrated from the old Developer Forum.
ref: 9801