Invalid Credentials error while trying to authorize, unresolved

This is my 3rd time asking for help here, I’ve raised a ticket as well.

Using the above code to get the access token, following the below guides:

I logged in using output URL from the code and after that I’m getting “Invalid Credentials” error. I have attached a photo for reference.

“Invalid Credentials” message, error code: UDAPI100016.

My credentials are correct though, I’ve double checked every single time.

Client ID: KB4716
Ticket No.: #8620540

@paarthjha - How often does this issue occur? Is it preventing you from using the APIs entirely?

you are doing wrong way