Hi,
The below-mentioned API has been returning a 502 Bad Gateway error since Friday. It was working perfectly earlier, and there have been no code changes on our end.
We are passing both the access token and client ID, and have verified that the access token is valid.
API Details:
curl --request POST \
--url https://api.dhan.co/v2/marketfeed/quote \
--header 'Accept: application/json' \
--header 'Content-Type: application/json' \
--header 'access-token: JWT' \
--header 'client-id: 1000000001' \
--data '{}'
Response:
502 Bad Gateway
Request you to kindly check and let us know the cause of the issue. Other APIs are working fine. I checked holding details and avaialble fund details. Both are returning results as expected.
Regards,
Ravindra
1 Like
I have been observing this phenomenon whenever there are continuous holidays. I think Dhan is shutting down all the servers and going on vacation …
wait for monday … everything will work fine …
@Dhan , @Hardik
I am also facing it for most of the functions like ltp, get_option_chain, get_expiry list etc
I spend almost couple of hours to debug the issue in my functions. Finally observed that this is due to server issue at Dhan.
Please let us know when this will be up? Also in future please inform dhanhq users about such downtime.
Thanks!
Hi @Ravindra_Ghetia @Siddhesh_Amrute @sreetd14 Please confirm if this is the same response at your end now. Market data is being consumed correctly by many users.
It was working fine after few hours.
Thanks!
1 Like
Every thing works fine on market days. Only on continuous holidays the data is not accessible.