v5 API can't find animal by ID

75 views
Skip to first unread message

Andy Rifken

unread,
Jul 10, 2022, 5:10:07 PM7/10/22
to apidev
Hello all! I have noticed that some of our available animals do not return via the v5 api (either by ID directly or by search), but they do appear in the RescueGroups console and on the website via the toolkit. I was wondering if anyone has seen this before, and if there is some configuration that we are missing on certain animals but not others. For example,

This dog appears on our website (via the toolkit)

But requesting via the API returns no results:
curl "https://api.rescuegroups.org/v5/public/animals/18169997" \
     -H 'Authorization: REDACTED'

Thanks in advance for any advice!

Andy
 


Andy Rifken

unread,
Jul 10, 2022, 6:43:13 PM7/10/22
to apidev, Andy Rifken
Actually, looks like I'm able to get results for this animal in the V2 api- so must be something with V5!

Richard Saffell

unread,
Jul 11, 2022, 9:00:02 PM7/11/22
to apidev, Andy Rifken
Hello,

We're looking into this issue with the v5 API.

Richard

Richard Saffell

unread,
Jul 16, 2022, 12:23:08 PM7/16/22
to apidev, Richard Saffell, an...@rifken.net
Andy,

Sorry for not responding soon. We believe we resolved this issue a few days ago (in the Tuesday/Wednesday timeframe). Please let us know if you continue to experience any issues.

Richard

Josh Huser

unread,
Dec 13, 2022, 12:16:26 PM12/13/22
to apidev, ric...@rescuegroups.org
Hi Richard, 

I believe that I am having a similar issue with the OP.  I have been experimenting with the API but the results are not matching what is displayed on the adoption toolkit on our website.  When I investigated further it seems the following animal IDs are not returning any results when searching individually (or even in other search endpoints where they should be returned).  I compared two listings in the admin portal to ensure there wasn't something I missed.

I've tried both endpoints (test and PROD) as follows, and still get zero results for the following animalIDs (18029117, 18029120, 18038129, 18038132, 17927576, 18377960)

{API HOST}/v5/public/orgs/3189/animals/{ID}
{API HOST}/v5/public/animals/{ID}

Thanks,
Josh

Richard Saffell

unread,
Dec 13, 2022, 1:08:46 PM12/13/22
to apidev, josh...@gmail.com, Richard Saffell
Hello Josh,

We have been experiencing an issue with data updates with our production v5 API. I'm checking this account right now (3189) to be sure the pets are updated.

Thanks for your patience,

Richard

Reply all
Reply to author
Forward
0 new messages