tencent cloud

All product documents
Cloud Object Storage
Troubleshooting
Last updated: 2024-02-02 15:51:37
Troubleshooting
Last updated: 2024-02-02 15:51:37

Overview

The response returned by an API is of the Response type in Go's HTTP standard library. You can get the error code and message returned by the server through err.Error(). For more information, see Error Codes.

Server Exceptions

The response returned by an API contains the following call structure:
Member
Description
Type
X-Cos-Request-Id
Response header and request ID, which are used to represent a request and are very important for troubleshooting.
string
StatusCode
Status code in the response. 4xx indicates that the request failed due to a client exception. 5xx indicates that the request failed due to a server exception. For more information, see Error Codes.
string


Using the Diagnosis Tool

COS provides a self-help diagnosis tool to help you quickly locate request problems and debug code.

Directions

1. Copy the request ID (RequestId) returned when the request error occurs.
2. Click Diagnosis Tool.

3. Enter RequestId and click Diagnose.
4. Wait and view the diagnostic result.

Was this page helpful?
You can also Contact Sales or Submit a Ticket for help.
Yes
No

Feedback

Contact Us

Contact our sales team or business advisors to help your business.

Technical Support

Open a ticket if you're looking for further assistance. Our Ticket is 7x24 avaliable.

7x24 Phone Support
Hong Kong, China
+852 800 906 020 (Toll Free)
United States
+1 844 606 0804 (Toll Free)
United Kingdom
+44 808 196 4551 (Toll Free)
Canada
+1 888 605 7930 (Toll Free)
Australia
+61 1300 986 386 (Toll Free)
EdgeOne hotline
+852 300 80699
More local hotlines coming soon