User Find for Web Apps and M2M

/users/find

These are the possible response codes when you make an API call to the /users/find endpoint.

Responses Code

Error

Message

Scenario

Resolution

200 OK

Successfully retrieve user details.

400 Bad Request

http_exception

"Invalid json format"

Empty payload

Add the payload.

400 Bad Request

invalid_parameters

"Invalid json format"

Invalid JSON format used in the payload.

Use correct JSON format for the payload.

400 Bad Request

http_exception

"Invalid authorization header"

Incorrect client secret

Use the correct client secret.

400 Bad Request

http_exception

"Invalid authorization header"

Incorrect client ID used

Use the correct client ID.

403 Forbidden

http_exception

"Forbidden"

Find user details with invalid client_id

Use a valid client_id value.

403 Forbidden

http_exception

"Forbidden"

Find user details with incorrect/invalid username and password

Use the correct and valid username and password.