Discussions

Ask a Question
Back to All

API for listing users returns an error

API should not return an error in such case. it is impossible to page after such record in the backend

GET https://api.connecteam.com/users/v1/users?limit=100&offset=500

{
"details": {
"errormessage": "Request is invalid",
"error_code": 1004
},
"error": "Failed to retrieve user info for user ID: 4782416 (K**
M_**\n 1 validation error for User\nemail\n email must be a valid email (type=value_error)",
"path": "/users/v1/users",
"request_id": "7cf3de87-142d-472b-a3c9-5eab640aafe7"
}