02-09-2021 09:04 - last edited on 02-09-2021 15:46 by GordonFitbit
02-09-2021 09:04 - last edited on 02-09-2021 15:46 by GordonFitbit
Background: I am trying to check the status of the current access code in my databse, while doing so I am receiving a 401. I have attached my code for the same in a Gist. Please help.
02-09-2021 15:42 - edited 02-09-2021 15:46
02-09-2021 15:42 - edited 02-09-2021 15:46
Hi @Prab
This is a duplicate support request from the case you created through our web form. Let's focus on the web form case and then post the solution here afterwards. Also, I'd recommend that you remove any tokens, client IDs, client secrets and user IDs when publishing code to the community forums. If the API Support team needs it, we will tell you how to provide that information to us securely. I have removed your link to the code.
Gordon
02-10-2021 09:46
02-10-2021 09:46
The reason for the 401 error is the client ID of the application calling introspect is different from the client ID of the access token.