Sandbox order place "Something went wrong... please contact us"

I trying to place order using sandbox token getting “something went wrong please contact us” error with status code: 500. I tried after market. guide us to resolve it.

payload:
{“quantity”:1,“product”:“I”,“validity”:“DAY”,“price”:0,“tag”:“exit-position”,“instrument_token”:“NSE_FO|NIFTY2550824350CE”,“order_type”:“MARKET”,“transaction_type”:“BUY”,“disclosed_quantity”:0,“trigger_price”:0,“is_amo”:false}

@Kalaiselvi_10418027 Could you please share your 6-digit UCC? I tested the provided payload and received a 400 error indicating an invalid instrument key.

Hi Anand,

Please check information and do the needful, how to achieve success order.

Payload:
{“quantity”:1,“product”:“I”,“validity”:“DAY”,“price”:0,“tag”:“exit-position”,“instrument_token”:“NSE_EQ|INE848E01016”,“order_type”:“MARKET”,“transaction_type”:“BUY”,“disclosed_quantity”:0,“trigger_price”:0,“is_amo”:false}

response:
{
“status”: “error”,
“errors”: [
{
“errorCode”: “UDAPI100500”,
“message”: “Something went wrong… please contact us”,
“propertyPath”: null,
“invalidValue”: null,
“error_code”: “UDAPI100500”,
“property_path”: null,
“invalid_value”: null
}
]
}

Kindly check and response to me, my your 6-digit UCC ID: 3LCYZG

I tried the another type limited with instrument token “NSE_FO|38608”

this is right, mean payload values are correct, please confirm. could help me to resolve this?

payload: {
“quantity”: 1,
“product”: “I”,
“validity”: “DAY”,
“price”: 0,
“tag”: “exit-position”,
“instrument_token”: “NSE_FO|38608”,
“order_type”: “LIMIT”,
“transaction_type”: “BUY”,
“disclosed_quantity”: 0,
“trigger_price”: 0,
“is_amo”: false
}

response: {
“status”: “error”,
“errors”: [
{
“errorCode”: “UDAPI100500”,
“message”: “Something went wrong… please contact us”,
“propertyPath”: null,
“invalidValue”: null,
“error_code”: “UDAPI100500”,
“property_path”: null,
“invalid_value”: null
}
]
}

@Kalaiselvi_10418027 Could you please confirm if you’re using the correct HTTPS URL? The cURL command below is working on my end.

curl -L -X POST 'https://api-sandbox.upstox.com/v3/order/place' \
-H 'Content-Type: application/json' \
-H 'Authorization: Bearer {auth_token}' \
--data-raw '{"quantity":1,"product":"I","validity":"DAY","price":0,"tag":"exit-position","instrument_token":"NSE_EQ|INE848E01016","order_type":"MARKET","transaction_type":"BUY","disclosed_quantity":0,"trigger_price":0,"is_amo":false}'

@Anand_Sajankar

now working I used version 2 api: https://api-sandbox.upstox.com/v2/order/place/ not working
after removing last backslash its working fine.

Working fine with url https://api-sandbox.upstox.com/v2/order/place

Request: kindly update the error message relevant to the error. It could be more help full to others.

Thanks @Anand_Sajankar

1 Like