Responses

Media Manager APIs can return a number of different responses.

Errors

Different errors responses can be returned. They are explained below.

Invalid APIKey found

{
  "error": {
    "message": "Invalid APIKey found",
    "code": 403
  }
}

The API key you have provided is incorrect, double check its correct via your account page.

Unauthorized

{
  "error": {
    "message": "Unauthorized",
    "code": 400
  }
}

You are not passing any valid authentication. Please check out Authentication.

API Does not exist

{
  "error": {
    "message": "API call does not exist",
    "code": 404
  }
}

The API call you are making does not exist. Please double check the URI to make sure it matches.

HTTPS

{
  "error": {
    "message": "Request must be HTTPS",
    "code": 400
  }
}

All API requests must be made over HTTPS. Change http:// to https://.

Bad Request

{
  "error": {
    "message": "Bad request",
    "code": 400
  }
}

You have sent a bad request. This could be caused by a number of issues. Some potential issues could be.

  • Invalid method (GET, POST , DELETE , PUT). Might be sending a unsupported type.
  • Invalid parameters.
  • Invalid json sent.