INVALID_SIGNATURE
If the INVALID_SIGNATURE
error code is returned when calling the API, you can troubleshoot the following scenarios:
After submitting the message, signature verification on the Antom side fails.
- The signature content does not match the message
- Line breaks and spaces in the message may be inconsistent with the signature content (e.g., between \r\n and \n).
- Special characters escaping.
- Timestamp mismatch: The timestamp within the message does not correspond to the one used in the signature content.
- Public and private keys do not match
- Confirm whether the keys used for signature and verification are correctly matched pairs.
- The updated key does not take effect
- If the gateway prompts that the signature verification failed when you use your updated key to add a signature, contact Antom Technical Support for assistance.
Antom returns the message, but signature verification fails.
- Review your signature verification logic for potential errors.
- Ensure the Antom public key is correct.
- Check whether the signature verification message is the original text.
For more detailed information on troubleshooting signature issues, refer to the Integration guide.