Authentication error , Invalid credentials. But my credentials are right. Please help

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

I have copy pasted the exact client_id which is shown on the app created. and redirect uri is http://127.0.0.1/. state is a random string
this is my url
https://api.upstox.com/v2/login/authorization/dialog?response_type=code&client_id=$clientId&redirect_uri=$redirectUri&state=$state’;

what can i do to fix it?

@lostbodhi

We’ve resolved the issue on our end. Please try again and inform us if it’s working for you now.

Thanks!