Skip to main content

Troubleshooting

SymptomLikely cause
Signature never matchesYou are hashing a re-encoded body. Hash the raw bytes as received, not JSON you parsed and encoded again
Signature never matchesWrong secret: each API key has its own signing_secret
Signature never matchesThe timestamp in the signed string is not the exact X-TIMESTAMP value, or the dot between it and the body is missing
Signature matches, callback rejected as expiredYour server clock has drifted. Keep it on NTP
Decryption failsThe encryption_secret was used as text. Hex-decode it to 32 bytes first
Decryption failsiv, tag or data was not base64-decoded, or the tag was not supplied to the decryptor
Body cannot be read after switching encryption onThe handler is parsing the envelope as the usual payload. Decrypt first