How to debug 4XX & 500 errors?
code
and detail
fields for specific guidancesource.pointer
and source.parameter
fields help identify exactly what’s wrongX-Qonto-Staging-Token
headerclient_transfer_id
to identify which specific transfer failedHow to debug a '404 Not Found' error?
/v2/organizations
instead of /v2/organization
), cf. the API reference to verify if the url you are calling is correct.I'm getting an HTML response with a '200' sucess status / I'm redirected to 'https://qonto.onelogin.com/login'
X-Qonto-Staging-Token
(available in the Developer Portal) in the header of your API call.I'm getting a CSRF error in my OAuth redirect URI
The token endpoint doesn’t return a refresh token
offline_access
scope in the login endpoint.I'm getting a '40X' error when calling the refresh token endpoint
Don’t forget to store the new refresh_token as they are one time use.
I'm redirected to One Login when I'm triggering the OAuth flow (Login endpoint)
I don't manage to create a connection between Make / Zapier and the Qonto Sandbox account
I'm getting a '422 search_limit_reached' error when calling the transactions endpoint
total_pages
/ total_count
fields in the meta object received in the response (when calling the first page). If the total_pages
> 100 or the total_count
> 10 000, it means that you’ll have to split the initial request in batches by using filters.To do so, this is what we suggest:settled_at
field of the first transaction : let’s call it end_date
asc
settled_at
field of the first transaction : let’s call it start_date
number_of_batches
= total_count
/ 10 000 → round it up (ex: if you get 1.3, the number of batches will be 2)initial_period
= end_date
- start_date
= X secondsnb_of_seconds_per_bacth
= initial_period
/ number_of_batches
number_of_batches
times by applying the settled_at_from
and settled_at_to
filters:
settled_at_from
= start_date
& settled_at_to
= start_date
+ nb_of_seconds_per_period
settled_at_from
= start_date
+ (n-1) x nb_of_seconds_per_period
& settled_at_to
= start_date
+ n x nb_of_seconds_per_period
settled_at_from
= end_date
- nb_of_seconds_per_period
& settled_at_to
= end_date