Getting a 422 error when using unobserved_by_user_id in the observations API

Please fill out the following sections to the best of your ability, it will help us investigate bugs if we have this information at the outset. Screenshots are especially helpful, so please provide those if you can.

Platform (Android, iOS, Website): Website

App version number, if a mobile app issue (shown under Settings or About):

Browser, if a website issue (Firefox, Chrome, etc) : Chrome

URLs (aka web addresses) of any relevant observations or pages: https://api.inaturalist.org/v1/observations?place_id=2319&unobserved_by_user_id=chloejreid&order=desc&order_by=created_at

-> {
“error”: “Error”,
“status”: 422
} as the Response body.

Screenshots of what you are seeing (instructions for taking a screenshot on computers and mobile devices: https://www.take-a-screenshot.org/):

Description of problem (please provide a set of steps we can use to replicate the issue, and make as many as you need.):

Step 1: Load https://api.inaturalist.org/v1/observations?place_id=2319&unobserved_by_user_id=chloejreid&order=desc&order_by=created_at, see the response is a 422.

Step 2: Remove “&unobserved_by_user_id=chloejreid” from the URL. The result comes back healthy.

I tried your link and also got the 422 error. Then tried with my username and a couple of other usernames without any errors, looks like choejreid is not a username on iNat

Welcome to the Forum, @chloejreid :)

Ahh, that is because our username changed! Sorry for the post, seems this is working as intended :).