tencent cloud

masukan

Troubleshooting

Terakhir diperbarui:2024-01-23 17:15:08
    When the SDK request fails, the error field returned is not empty, but instead includes an error code, error description, and other necessary debugging information to help developers quickly fix any issues. Error codes (outlined in the returned error field) include those returned by the client and those returned by the server.

    Client Errors

    Error codes generated by your device due to network problems are all 4-digit negative numbers, such as -1001. These error codes are defined by Apple. For more information, see the definitions presented in the header file NSURLError.h in Foundation framework or see Apple's official documentation.
    Custom errors returned by the local client in the SDK network layer includes network exception, invalid certificate and invalid parameter, which is as shown below:
    Error Code
    Error Message
    Error Description
    10000
    InvalidArgument
    Invalid parameter
    10001
    InvalidCredentials
    Invalid certificate
    10004
    UnsupportOperation
    Unsupported operation
    20001
    InvalidArgument
    Invalid data returned by the server
    20004
    PoorNetwork
    A verification for data integrity failed.
    30000
    UserCancelled
    The user has canceled the request.
    30002
    AlreadyFinished
    The job has already finished.

    Server Errors

    Error codes returned by COS are based on HTTP status codes, such as 404 and 503. For more information on these error codes, see Error Codes. You can also use the self-diagnosis tool to debug the code and quickly locate request errors.

    Using the Diagnosis Tool

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

    Directions

    1. Copy the RequestId returned by the exception by following directions in Obtaining RequestId.
    2. Click Diagnosis Tool.
    
    3. Enter RequestId and click Diagnose.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