Error Codes

Parsing Errors

When interacting with the playPORTAL API you may encounter various errors. Errors are returned from the API with the following structure:

{
"error_description": "Simple human-readable error.",
"error_code": "4-digit error code (see below)."
}

If the response body for an error is unavailable in your client, the description and code are also returned as response headers.

Error Codes

451

  • 4511 - Adult/parent has agreed to outdated privacy policy.

  • 4512 - Kid has agreed to outdated privacy policy.

400

  • 4000 - Generic bad request error.

  • 4001 - Parameter missing from request.

  • 4002 - Duplicate resource found.

  • 4003 - General validation error.

  • 4004 - Incorrect user type.

  • 4005 - Parameters unusable (wrong type or unparseable).

  • 4006 - Action impossible (i.e. sending a friend request to yourself).

  • 4007 - App is above its data limit.

  • 4008 - Token already used.

  • 4009 - Requested content has been flagged for moderation.

409

  • 4091 - Conflicts with existing resource.

401

  • 4010 - Access token refresh required.

  • 4011 - Invalid credentials.

  • 4012 - API key invalid.

  • 4013 - Your account or resource is under moderation.

  • 4014 - Insufficient permissions to access resource.

  • 4015 - Authorization code is malformed.

  • 4016 - Authorization is missing from request.

  • 4017 - App not does have requested scope registered.

  • 4018 - App does not have notifications enabled for this device type.

  • 4019 - User has not granted consent for this app.

505

  • 5051 - App version is no longer supported.

404

  • 4042 - Requested resource was not found.

500

  • 5000 - Uncaught server error (please notify us!).

  • 5001 - Failed to save data.

  • 5002 - Failed to update data.

  • 5003 - Internal process failed.

  • 5004 - Internal data missing or corrupted.

  • 5005 - Partner process failed.

403

  • 4032 - Use attempted action on data they are not authorized to access.

  • 4033 - Authorization request is missing a parameter.

  • 4034 - Authorization token is invalid.

  • 4035 - Anonymous user attempted to access resource that is not available to them.