Get started integrating with Better Proposals using our API. Everything you need from instructions to code examples is inside.
Let's get started
Errors and debugging
Handling API errors.
Better Proposals API always return a JSON as response body.
It always include a status key, which can have two values:
success or error
With that you can simply know your request has succeeded or not.
If status is "success" then it always have a key called data, where your requested information is stored.
This error means that request you sent to the server is not correctly formed. Mostly this kind of error appears when you don't pass access token to request headers