Error in Getting the response of order

I’m placing the order via python sdk and when i’m trying to get the order data using the python sdk but sometimes it gives me error

Reason: Not Found
HTTP response headers: HTTPHeaderDict({‘Date’: ‘Tue, 02 Jul 2024 03:50:01 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’: ‘73558e42-51d4-45ae-8ce7-aa4ad2077dae’, ‘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=dS7O5LP4CCif8Ari5dh.niUJ9_X9QqEKDARnfuegckI-1719892201-1.0.1.1-Mj8NqVkTp4lNojfk2oyV5heZ9SUeer6JzpVACA8sqBgu0dbdbfCUyen8b77U2Qxo; path=/; expires=Tue, 02-Jul-24 04:20:01 GMT; domain=.upstox.com; HttpOnly; Secure; SameSite=None, _cfuvid=Mat0txuCHqrQPrfYQON4yoqadgGcW4cmmqKkoI0WtW8-1719892201480-0.0.1.1-604800000; path=/; domain=.upstox.com; HttpOnly; Secure; SameSite=None’, ‘Server’: ‘cloudflare’, ‘CF-RAY’: ‘89cbab530d064543-BOM’})
HTTP response body: b’{“status”:“error”,“errors”:[{“errorCode”:“UDAPI100010”,“message”:“Order not found”,“propertyPath”:null,“invalidValue”:null,“error_code”:“UDAPI100010”,“property_path”:null,“invalid_value”:null}]}’

how can i solve it?
@Upstox

This thread might be useful here.