How to Handle the Node.js SDK Error "Request has expired (Status Code: 403; Error Code: AccessDenied)"?
Regenerate the signature to resolve the issue caused by signature expiration. If the same error persists after the signature is regenerated, check whether the machine's local time is set to standard Beijing time.
How to Obtain a Temporary Link for Downloading Files Using the Node.js SDK?
The Node.js SDK provides APIs for obtaining signatures, obtaining request pre-signed URLs, and obtaining object download pre-signed URLs. The method for calling these APIs to obtain a pre-signed URL is the same whether you use a permanent key or a temporary key. When using a temporary key, you must add x-cos-security-token to the header. For details, see the Generate Pre-signed URL document. How to Access COS Using a Global Acceleration Domain Name with the Node.js SDK?
You can access cos using a global acceleration domain or other custom domains. For details, see the Configure Access Domain document. How to Handle a 403 Permission Error When Calling an API?
Permission issues are generally not caused by the SDK. Check your authorization information. Alternatively, you can contact us for assistance.