I am trying to use a combination of 2 API’s to get the correct user IP and Geolocation based on that.
The first API call IP-Get IP
calls api.apify.com to get the User IP from browser.
In this step, the returned IP is correct.
The second API, IP-Geo BE
The call is a Backend API call to api.ipapi.com to fetch further details, such as city and country, from the API.
The second API call is behaving strange, even though the first Toast confirms that the IP saved in the index state is correct as expected.
When passed to the second API call, the IP is getting changed to Bubble.io server IP.
I’m not sure why this is happening and how to avoid it.
Has anyone faced anything similar and understands how to mitigate this?