Error in Order Modify

Exception : OrderApi->modify_order: (400)

Reason: Bad Request

HTTP response headers: HTTPHeaderDict({‘Date’: ‘Mon, 29 Apr 2024 07:55:51 GMT’, ‘Content-Type’: ‘application/json’, ‘Transfer-Encoding’: ‘chunked’, ‘Connection’: ‘keep-alive’, ‘Vary’: ‘Origin, Access-Control-Request-Method, Access-Control-Request-Headers’, ‘message’: ‘request failed’, ‘requestId’: ‘17c53509-f6c7-4ea1-8fa2-30424513b04a’, ‘X-Content-Type-Options’: ‘nosniff’, ‘X-XSS-Protection’: ‘1; mode=block’, ‘Cache-Control’: ‘no-cache, no-store, max-age=0, must-revalidate’, ‘Pragma’: ‘no-cache’, ‘Expires’: ‘0’, ‘Strict-Transport-Security’: ‘max-age=0; includeSubDomains’, ‘X-Frame-Options’: ‘DENY’, ‘CF-Cache-Status’: ‘DYNAMIC’, ‘Set-Cookie’: ‘__cf_bm=Uu23kd5WX1C02n9Xf7EH35.QoBvZTOcMXc8WJKRswBk-1714377351-1.0.1.1-v1_tXXqcY5H3J6tiUzeU7zNALhBPy9DjwwCqv9PVOxGordYO0P.BadwZoyFmBjUJ; path=/; expires=Mon, 29-Apr-24 08:25:51 GMT; domain=.upstox.com; HttpOnly; Secure; SameSite=None, _cfuvid=sNldwuyeOL8IiVJid59WkQWTNCx6ASpQieR21rK.W.o-1714377351008-0.0.1.1-604800000; path=/; domain=.upstox.com; HttpOnly; Secure; SameSite=None’, ‘Server’: ‘cloudflare’, ‘CF-RAY’: ‘87bdbb6b7ce6320c-BOM’})

HTTP response body: b’{“status”:“error”,“errors”:[{“errorCode”:“UDAPI1030”,“message”:“''price'' is not required”,“propertyPath”:“price”,“invalidValue”:242.05,“error_code”:“UDAPI1030”,“property_path”:“price”,“invalid_value”:242.05}]}’

Could you provide a curl request for this investigation, including the order number and your client ID?

Hey @Pradeep_Jaiswar

This is resolved, I was passing price while modifying order with Market order, It does not accept price in Market Order.