Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

...

The BellaDati REST API uses the JSON format for any responses to API calls. And additionaly some responses can return HTML and PNG format for pictures.

Error Handling

Errors are returned using standard HTTP error code syntax. Any additional info is included in the body of the return call in JSON format. Error codes not listed here are described in the respective REST API method.

...

Code

Description

400

Bad input parameter. Refer to the error message to find out which one and why.

401

Bad or expired token. This can happen if the access token has expired or is otherwise invalid. To fix this, re-authenticate the user.

403

Bad OAuth request (incorrect consumer key, bad nonce, expired time stamp...). Refer to the error message for details.

404

File or folder not found at the specified path. Check if the URL you're trying to access is correct.

405

Unexpected request method. The request method should be GET or POST depending on the request you're trying to make.

503

Your app is making too many requests and is being rate limited. 503s can trigger on a per-app or per-user basis.

5xx

Server error. Refer to the error message for details.

Next Steps

Children Display