Getting historic data for AMBICAAGAR always ending in exception. Not able to download

Getting historic data for AMBICAAGAR always ending in exception. Not able to download.

22:46:46.466.000, , WARNING, Getting historic data for AMBICAAGAR ended in exception - (400)

Reason: Bad Request

HTTP response headers: HTTPHeaderDict({‘Date’: ‘Sat, 24 Feb 2024 17:16:46 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’: ‘9c1ea085-89fe-4ce9-9a6c-e55cf10de44d’, ‘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’: ‘MISS’, ‘Set-Cookie’: ‘__cf_bm=vGVMQR4sZa01OK1Z8zWq_hcJTwMBYPhKCSqtXhAdJ_w-1708795006-1.0-AdYH5PCF+2EV47GLD1flrm6pvQDGkwf1pn2YxumWZz0ZHcixavlzBgcSCOmXdg23+G/Wi9gRfU7U3E98FtoFjrw=; path=/; expires=Sat, 24-Feb-24 17:46:46 GMT;; HttpOnly; Secure; SameSite=None, _cfuvid=xNl8n4wgaGZF9YP3tS16dGbiMtfCSOKwHPKG7oV3ULI-1708795006473-0.0-604800000; path=/;; HttpOnly; Secure; SameSite=None’, ‘Server’: ‘cloudflare’, ‘CF-RAY’: ‘85a95bb61de3f2ba-BOM’})

HTTP response body: b’{“status”:“error”,“errors”:[{“errorCode”:“UDAPI100038”,“message”:null,“propertyPath”:null,“invalidValue”:null,“error_code”:“UDAPI100038”,“property_path”:null,“invalid_value”:null}]}’

@Krishna_Velu, could you please provide the specific curl command for the same request?

Below is an example of a functioning curl command for retrieving 1-minute candle data for AMBICAAGAR:

curl --location '' \
--header 'Accept: application/json' 


curl --location '' --header 'Accept: application/json'

The end date is beyond what the scrip has history data. If I give 1 year data it works.
Asking history data beyond the actual history data available works for other scrips, i.e. it just returns data till from where the history data is available.
Only for this scrip it returns error.

It functions with the following URL for the date 2011-03-01:

I trust this won’t pose a blocker for you. We will review the specified condition by you and respond accordingly.

This is not a blocker, I’ve handled with try except block. But would like to know the details. Why is it happening only on this scrip.

Acknowledged. We will review this internally and get back to you.

Any updates? on this topic?

We’ve put this in the development pipeline, which is poised to begin development shortly. Although I cannot provide a specific timeline at this moment, rest assured that these features will be rolled out in the upcoming releases soon.

Note: This happens when scrip historical data for the backdating is not available or corrupted due to some reason.