Hi Team,
I again hit the same issue that the EDIS is not Validated when I already did the using some other script at 8:50 am today morning.
Error
*****Placing order by sending the following body to Upstox : {‘quantity’: 4, ‘product’: ‘D’, ‘validity’: ‘DAY’, ‘price’: 0, ‘tag’: ‘UPSTOX’, ‘instrument_token’: ‘NSE_EQ|INE118A01012’, ‘order_type’: ‘MARKET’, ‘transaction_type’: ‘SELL’, ‘disclosed_quantity’: 0, ‘trigger_price’: 0, ‘is_amo’: ‘false’}
Exception when calling OrderApi->place_order: (400)
Reason: Bad Request
HTTP response headers: HTTPHeaderDict({‘Date’: ‘Mon, 25 Sep 2023 03:52:21 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’: ‘afa41046-d4fd-4e88-94f3-49a7915a92b8’, ‘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’: ‘_cfuvid=vf_kCF4fVTNUakSg5yxXe1_4IU6dbnE6BLMZskEtPKI-1695613941297-0-604800000; path=/; domain=.upstox.com; HttpOnly; Secure; SameSite=None’, ‘Server’: ‘cloudflare’, ‘CF-RAY’: ‘80c0505c3b6b06a8-MAA’})
HTTP response body: b’{“status”:“error”,“errors”:[{“errorCode”:“UDAPI100026”,“message”:“EDIS is not validated”,“propertyPath”:null,“invalidValue”:null,“error_code”:“UDAPI100026”,“property_path”:null,“invalid_value”:null}]}’
Approval emails at 8:50 am today