Error codes · Keys and signatures
Invalid content digest
Code
invalid_content_digestStatus400
If this was an orderThis request bought nothing
Send it again unchanged?No — change something first
.NET SDK
AnisApiExceptionWhat it means
Reserved. Anis does not send this code today: a body that does not match its Content-Digest is answered invalid_credentials.
What to do
- Handle it like
invalid_credentialsif you ever receive it. - Compute the digest over the exact bytes you send, and check that no proxy re-encodes request bodies.
Example
The body of the refusal. Its type is the address of this page.
{
"type": "https://developers.anis.ly/errors/invalid-content-digest",
"title": "Invalid content digest",
"status": 400,
"code": "invalid_content_digest",
"requestId": "01J9R2K8T4V6XQ0M3B7C5D9E1F"
}