The callback URL you have set appears to be incorrect, or you might be using the outdated v1 API. The latest v2 API can be accessed at https://api.upstox.com/v2.
For proper authentication procedures, please refer to the steps outlined at Authentication | Upstox Developer API.