I am getting error UDAPI1154 while placing orders via API
Update your Upstox API app with the static IP of the server from where your orders are originating.
[Upstox] POST /v2/order/place → 403 | {“status”:“error”,“errors”:[{“errorCode”:“UDAPI1154”,“message”:“Access to this API is blocked due to static IP restrictions.”,“propertyPath”:null,“invalidValue”:null,“error_code”:“UDAPI1154”,“property_path”:null,“invalid_value”:null}]}
[Upstox place_order] status=403 body={“status”:“error”,“errors”:[{“errorCode”:“UDAPI1154”,“message”:“Access to this API is blocked due to static IP restrictions.”,“propertyPath”:null,“invalidValue”:null,“error_code”:“UDAPI1154”,“property_path”:null,“invalid_value”:null}]}
Upstox PE response: {‘status’: ‘error’, ‘errors’: [{‘errorCode’: ‘UDAPI1154’, ‘message’: ‘Access to this API is blocked due to static IP restrictions.’, ‘propertyPath’: None, ‘invalidValue’: None, ‘error_code’: ‘UDAPI1154’, ‘property_path’: None, ‘invalid_value’: None}]}
PE Order FAILED: Access to this API is blocked due to static IP restrictions.
@DEEPAK_26855916 @MUKESH_1534514 Do you have a static IP enabled for your orders?
Please refer to the link below for more information and next steps.
“Algo Details” is for exchange registered algos only. Since this field is optional you can skip this.
Thanks D sing..still cant place order.. i am clue less now? please help…please any body copy past ecode here for auto token generation and make request and place order only ..nothing else
for token generation i am using …upstox-auto-login api by upstox..token is generating , but orders not going to broker
@DEEPAK_26855916 Make sure the Primary IP is the IP address of the server from where your orders are originating. Error response you provided above clearly means that, you have mentioned incorrect IP address in the Upstox API app. Read here.
