UDAPI100500 — “Profile not found for inp

Subject: Sandbox OAuth token exchange failing (UDAPI100500 - Profile not found for UCC 2SAYXV)

Hi Upstox Team,

I’m integrating the sandbox API and facing an error during the OAuth token exchange:

Error:
UDAPI100500 — “Profile not found for input identifier.”

App details:

Environment: Sandbox (api-sandbox.upstox.com)
Request: POST /v2/login/authorization/token

Please verify whether the sandbox environment has an active test trading profile linked to UCC 2SA or if a sandbox mapping needs to be created for this account.

Thanks,
Krishnadas

Hi @MADATHIL_P_7122009

This flow is not supported for sandbox apps.
The only way to generate an access token in sandbox apps is by using the “Generate Token” button available in the My Apps section under your profile.

For more details, please refer to the official documentation:
https://upstox.com/developer/api-documentation/sandbox#create-a-sandbox-app-and-generate-a-token