Last Updated: Jun 27, 2017

If a request error occurs during SDK usage, an exception will be thrown containing the following information:

  • status: the HTTP status code of the error request
  • code: OSS error code
  • message: OSS error message
  • requestId: the UUID that uniquely identifies the request. Seek help from OSS development engineers by providing this RequestId if necessary.

For details about common error messages in OSS, refer to OSS Error Response.


  • In Node.js, enable debugging by setting the ‘DEBUG` environment variable:

    1. DEBUG=ali-oss node app.js
  • In a browser environment, set the localStorage.debug variable in the console to enable debugging:

    1. localStorage.debug = 'ali-oss'
Thank you! We've received your feedback.