Mutual Fund Historical NAV - India

PAID
By | Updated 5 days ago | Finance
Health Check

N/A

Back to All Discussions

No error code for Dates where NAV is unavailable

Rapid account: Skarthikeyan
skarthikeyan
7 years ago

Hello,
Firstly, thanks for such a nice API… There is one small request… If NAV is requested for a future date or a leave date, for example a saturday or a sunday or a fund house holiday where no update available, no error is returned. An empty body is returned. Can you please look into that?

Rapid account: Skarthikeyan
skarthikeyan Commented 7 years ago

Thanks a lot for such an immediate ressponse…

Rapid account: Navii
navii Commented 7 years ago

I did exactly that.

{
“error”: 4
} is returned for an empty response.

Rapid account: Skarthikeyan
skarthikeyan Commented 7 years ago

Thanks for such a quick reply… However, to make things easy, like you throw error : 2 for unavailable Fund Code or error : 3 for date string wrong format, isn’t an error : 4 or some thing similar be easy to parse for the API users? Please correct me if I am missing something

Thank you

Rapid account: Navii
navii Commented 7 years ago

Thanks for reporting the bug. I will let the API throw a 404 error in that case.

Join in the discussion - add comment below:

Login / Signup to post new comments