Displaying all 2 messages
Craig Andrew Miles
6/5/2022 at 6:49
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_url":"https://www.geni.com/people/Craig-Miles/6000000079020527890",....

where you can see that while the profile_url returned correctly references https://www.geni.com eg https://www.geni.com/people/Craig-Miles/6000000079020527890, 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
Private User
5/9/2023 at 5:32
Use the only_ids=true parameter
rails-1a-002