GuidesAPI ReferenceChangelogDiscussions
Back to 7shifts.comBecome a Partner
Discussions
These docs are for v2.2022.0501. Click to read the latest docs for v2.2023.0501.

Discussions

Ask a Question
Back to All

GET https://api.7shifts.com/v2/company/{company_id}/users stopped working

Hi - I've been using that endpoint for some time, but I started getting this error a couple days ago:

{
"title": "Internal Server Error",
"type": "https://httpstatus.es/500",
"status": 500,
"detail": "Body does not match schema for content-type "application/json" for Response [get /api/v2/company/{company_id}/users 200]\nLength of 'https://815eb0704ee5fefc0823-732830497efdb0e881ba2bd815804c2e.ssl.cf1.rackcdn.com/0b70b95deb2dfeeb11aa462c44169894/bec63434938611c798b0b445f80a2782_63394.jpg' must be shorter or equal to 100 (data.50.photo)."
}

That's the error I got from the "Try It" box just now on https://developers.7shifts.com/reference/listuserslist

Did something change on that endpoint?

Thanks,
Bao