Getting incorrect response from upstox while fetching AccessToken

Hi team,

I am getting incorrect repsonse from rest call from uri https://api.upstox.com/v2/login/authorization/token
Although I am passing correct code, client_id , client_secret as well as redirect_uri. Below is the response from rest call.

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

Could you please help me out.

Please verify that your details match those in your app. Provide us with the full cURL request for further investigation.

Hi @Pradeep_Jaiswar ,
Thank you so much for replying.
I have double checked the details in app and its the same. As requested please find below the curl request.

curl -X POST “https://api.upstox.com/v2/login/authorization/token
-H “Content-Type: application/x-www-form-urlencoded”
-d “grant_type=authorization_code&code=OmrkFU&client_id=abc&client_secret=xyz&redirect_uri=http://localhost:8080/sso/upstox

For security purpose I have mentioned client_id as abc and client_secret as xyz. For this user only I am facing the issue and my other colleague are able to proceed further. It seems to be user specific issue. You can share me the mail id wherein I can share the curl request with exact client_id as well as client_secret.
for your reference ucc of user is 4VAF7R.
Let me know if any more details are required from my side.

We will cross-check with your client ID.

Meanwhile, you can send the mail to the below email id, please

@Pradeep_Jaiswar
sure will drop a mail to vinit.mandlesha@rksv.in with complete curl request as it working fine with other users. 4VAF7R user is facing the issue.

Thanks

@Pradeep_Jaiswar I wanted to check if you had a chance to look into the issue. I have sent an email to vinit.mandlesha@rksv.in as you suggested.

Looking forward to hearing from you.

Thank you!