Unable to fetch code from authorize api, getting below error

{
“status”: “error”,
“errors”: [
{
“errorCode”: “UDAPI100016”,
“message”: “Invalid Credentials”,
“propertyPath”: null,
“invalidValue”: null,
“error_code”: “UDAPI100016”,
“property_path”: null,
“invalid_value”: null
}
]
}

UCC: 5AA2RK
https://api.upstox.com/v2/login/authorization/dialog?client_id=*******&redirect_uri=http://localhost:8080/login-response&response_type=code

@tanujsengar400,

Thank you for reaching out.

The Invalid credentials issue is typically related to your browser cache.

Could you please confirm if you were able to resolve this issue by using a different browser?

Thanks!

No i am still facing the same problem i tried updating the redirect url from localhost to 127.0.0.1 as well. I tried from incognito window as well after clearing the cache

updated api call:

https://api.upstox.com/v2/login/authorization/dialog?client_id=*******&redirect_uri=http://127.0.0.1:8080/login-response&response_type=code

any update? i am still facing the issue?

Please verify that you are using the correct credentials. Also, note that the authentication code obtained from the redirect URL is valid for one-time use only. You will need to generate a new code for each subsequent use.

Thank you.

I have already verified all the credentials multiple times and the api call is made to fetch the auth code. Fyres have a much better api integration setup