New API behaviour in error: Returned URL from API calls is now referencing localhost instead of geni.com

Started by Craig Andrew Miles on Sunday, June 5, 2022
Problem with this page?

Participants:

Related Projects:

Showing all 5 posts

Why is it that suddenly (within the last 7 days or so), an API call to a profile eg

https://www.geni.com/api/profile-g6000000079020527890

is now returning:

{"id":"profile-34720621852","url":"https://localhost:3000/api/profile-34720621852","profile_...;,....

where you can see that while the profile_url returned correctly references https://www.geni.com eg Craig Andrew Miles the url returned is now incorrectly referencing https://localhost:3000 eg https://localhost:3000/api/profile-34720621852 which is of course an invalid URL which should be https://www.geni.com/api/profile-34720621852

This worked as expected, as I said, until very recently so something must have changed at the Geni end.

I would be grateful if this could be fixed ASAP.

Thanks

Craig Miles

PS I also logged this at https://www.geni.com/platform/developer/forum/topic?topic_id=157 but it seems that this is infrequently responded to

I noticed the same weird behavior…

Craig Andrew Miles thanks for the report, this is fixed now.

Thanks Mike Stangel

There must have been some kind of an implementation change?

Showing all 5 posts

Create a free account or login to participate in this discussion