Getting UDAPI100012

Dear Upstox API Support,

I am trying to connect to the live market data feed using the endpoint:

bash

CopyEdit

POST https://api.upstox.com/v2/feed/market-data-feed/authorize

However, I consistently receive the following error response:

json

CopyEdit

{
  "status": "error",
  "errors": [
    {
      "errorCode": "UDAPI100012",
      "message": "Invalid Endpoint"
    }
  ]
}

My app is already using the official API, and I am able to successfully authenticate and fetch historical data using the same access token. It seems this WebSocket authorization endpoint might be restricted.

I request you to kindly enable WebSocket Market Feed access for my application so that I can receive real-time market data using Upstox’s Market Data Feed.

Please let me know if any additional steps or approvals are required.

Thank you,

@Buduru_41076620 It looks like you’re using the wrong request method — it should be a GET request. Try using the cURL command below; it should work.

curl -X 'GET' \
  'https://api.upstox.com/v2/feed/market-data-feed/authorize' \
  -H 'Authorization: Bearer {auth_token}'
  -H 'accept: application/json'

(post deleted by author)

(post deleted by author)

@Anand_Sajankar The actual problem was .proto installation. Its working now
Thank You

1 Like