Hi team,
I’m trying to log in to the Upstox sandbox using the OAuth URL:
https://api-sandbox.upstox.com/v2/login/authorization/dialog?client_id=XXXX&redirect_uri=http://127.0.0.1/&response_type=code&ucc=SANDBOX123
But I get this error:
{“status”:“error”,“errors”:[{“errorCode”:“”,“message”:“Required request parameter ‘ucc’ for method parameter type String is not present”,“propertyPath”:“ucc”,“invalidValue”:null,“error_code”:“”,“property_path”:“ucc”,“invalid_value”:null}]}
I tried my live UCC too, but it didn’t work.
Can someone please confirm the correct UCC for sandbox?
Thanks.