Unmatched Signatures (SDK for Node.js)
Problem: The HTTP status code obtained from CommonMsg.Status was 403, and the OBS server-side error code obtained from CommonMsg.Code was SignatureDoesNotMatch.
Solution:
- Check whether a bucket name was added before the endpoint. This will lead to a signature mismatch.
- Ensure that the AK and SK matched, were both correctly specified, and were the same as those used in the request.
- Check StringToSign.
Feedback
Was this page helpful?
Provide feedbackThank you very much for your feedback. We will continue working to improve the documentation.