tencent cloud

masukan

Troubleshooting

Terakhir diperbarui:2022-01-04 12:17:06

    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.
      Diagnosis Tool
      Click to start diagnosis
      Enter `RequestId` for intelligent diagnosis and obtain basic request information, directions, and diagnosis information to quickly locate request errors.
    3. Enter RequestId and click Diagnose.
    4. Wait and view the diagnostic result.
    Hubungi Kami

    Hubungi tim penjualan atau penasihat bisnis kami untuk membantu bisnis Anda.

    Dukungan Teknis

    Buka tiket jika Anda mencari bantuan lebih lanjut. Tiket kami tersedia 7x24.

    Dukungan Telepon 7x24