resource_not_found
An ID in the request body doesn't match any of your records.
Type: invalid_request_error
HTTP status: 400 Bad Request
Cause
A field in the request body names a record that doesn't exist, or that belongs to another merchant. The error's param names the field. For example, customer when creating a portal session for an unknown customer.
Unlike not_found, which is a 404 for the resource in the URL, this is a 400 because the request itself is wrong.
Response
{
"error": {
"type": "invalid_request_error",
"code": "resource_not_found",
"message": "No such customer.",
"param": "customer",
"doc_url": "https://docs.tryaccess.xyz/docs/errors/resource_not_found"
}
}Resolution
Check the ID in param. IDs are case-sensitive and must belong to the merchant whose API key you're using. Live and test records don't mix.
How is this guide?