Encountering 504 even when requesting single record

Hi,

I’m running into 504 errors when listing archived companies. This happens even if I set the `limit` to 1.
`/crm/v3/objects/company?limit=1&archived=true`
This call works fine when I set archived=false, but not when set to true.

Hey, @sglue :waving_hand: I hope you got this worked out. If not, I have a suggestion.

Next step – can you double-check your request URL? Your example shows `/crm/v3/objects/company?limit=1&archived=true` vs what the documentation uses `crm/v3/objects/companies?limit=1&archived=true`

I ran a quick test using the endpoint doc example and got back the expected result.

Request:

curl --request GET \
 --url 'https://api.hubapi.com/crm/v3/objects/companies?limit=1&archived=true' \
 --header 'authorization: Bearer YOUR_ACCESS_TOKEN'

Response:

HTTP 200

{
 "results": [
 {
 "id": "17824303529",
 "properties": {
 "createdate": "2023-10-26T22:19:15.916Z",
 "domain": null,
 "hs_lastmodifieddate": "2023-10-26T22:21:01.313Z",
 "name": "test to delete"
 },
 "createdAt": "2023-10-26T22:19:15.916Z",
 "updatedAt": "2023-10-26T22:21:01.313Z",
 "archived": true,
 "archivedAt": "2023-10-26T22:21:55.918Z"
 }
 ]
}

Have fun building! —Jaycee

Sorry -- I actually meant `crm/v3/objects/companies?limit=1&archived=true` and not `crm/v3/objects/company?limit=1&archived=true`.
Either way, I am getting the 504.