IP Geo Location

부분 유료
Verified
분류별 Geo API | 업데이트됨 2 महीने पहले | Location
인기

9.9 / 10

지연 시간

183ms

서비스 수준

100%

Health Check

N/A

모든 토론으로 돌아가기

Empty response problem

Rapid account: Karthik Bharadwaj
karthik.bharadwaj
3 वर्ष पहले

Hi,
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

Rapid account: Natkapral
natkapral Commented 2 वर्ष पहले

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.

Rapid account: Karthik Bharadwaj
karthik.bharadwaj Commented 3 वर्ष पहले

Yes sorry for the delay in response
We are subscribed under the organization name “Lanesquare Technology Pvt Ltd”

Rapid account: Natkapral
natkapral Commented 3 वर्ष पहले

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:

  1. RapidAPI has a log of all your requests. You can find it in the dashboard. If you know the day and approximate time when this happened you can try to see if there are any responses without body.
  2. Please check the implementation to see what happens if it takes a bit longer to get the response from the api
  3. Try to use this API directly from us https://getgeoapi.com

Can you please provide the username who is subscribed to the api and may be we would be able to find something user specific.

Rapid account: Karthik Bharadwaj
karthik.bharadwaj Commented 3 वर्ष पहले
  1. The same IP giving response few times and no result few times … we have observed in the same day
  2. Empty response means => The response preview is not available in debug console ( so the response body is not available ) but the http response status code is 200
  3. What data from this API we use in our application => we use country name, country code and currency code
Rapid account: Natkapral
natkapral Commented 3 वर्ष पहले

Hi,
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?

Rapid account: Karthik Bharadwaj
karthik.bharadwaj Commented 3 वर्ष पहले

Hi natkapral,
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.

Rapid account: Natkapral
natkapral Commented 3 वर्ष पहले

Hi,
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.

아래에 의견을 추가하고 토론에 참여하세요.

새 댓글을 게시하려면 로그인 / 가입