While querying for /check api, there are cases where it returns empty / no response with status code 200. What might be the case and how to avoid it
Empty response with 200 status means that the IP address is valid, but it’s private or reserved.
If you have any specific examples we will look deeper to see if there is an issue.
So we do not have any specific example as such … we have observed this with UAE and China IP’s but the same IP can give request few times and will not give result few other times. So we are unable to pinpoint on a particular IP address. Is there any way to catch the error when this happens.
Without a specific example it would be harder to find the issue, however the following questions might help.
You mentioned that “the same IP can give request few times and will not give result few other times”. Does this happen on the same day or it returns results on one day and doesn’t return anything (or has missing data) on the other day?
What do you mean by empty response? Is it completely empty or it includes the schema without any data?
What data from this API do you use in your application?
This doesn’t sound like an issue with the API itself. Regardless of the response code there is always some data in the response body. There is also nothing in our logs that suggests that there are issues.
There are still several things that can be checked:
Can you please provide the username who is subscribed to the api and may be we would be able to find something user specific.
Yes sorry for the delay in response
We are subscribed under the organization name “Lanesquare Technology Pvt Ltd”
We analyzed your requests to /ip/check endpoint for the last several days and all of them had a valid response with data in the body.
चर्चा में शामिल हों - नीचे टिप्पणी जोड़ें: