MaxCompute provides an error code mechanism to help you quickly locate the error type, severity, and cause of an error and resolve the related issues. This topic describes the error message format and a list of error codes of MaxCompute.

Error message format

MaxCompute error messages are in the following format:
Error code:General description - Context-related description
Item Description
Error code Helps you determine the error type, cause, and severity of an error. Format:
  • MM: indicates the module number, which is a two-digit integer. Valid values:
    • 00: indicates a common error. Common errors are caused by an exception in an underlying component, such as Tablestore, Apsara Distributed File System, or Job Scheduler.
    • 01: indicates an error in an SQL job.
    • 02: indicates an error in a procedural language (PL) job.
    • 03: indicates a Data Tunnel (DT) error, which is an error in a MaxCompute Tunnel job.
    • 04: indicates an API error.
    • 05: indicates an error in an Xlib job. Xlib is a module that is designed for data mining in MaxCompute.
    • 07: indicates an error in a MapReduce job.
    • 08: indicates an error in an ODPS SDK or command-line tool (CLT) job.
    • 09: indicates an error in a streaming job.
    • 10: indicates an error in a replication job.
    • 11: indicates an error in an xFlow job.
    • 12: indicates an error in an AlgoTask job, which is an error in a Machine Learning Platform for AI (PAI) job.
    • 13: indicates a PAI Server (PS) error.
    • 14: indicates an error in a Galaxy job.
  • CCCC: indicates an error code, which is a four-digit integer. For more information, see Errors.
  • X: indicates the severity of an error, which is a one-digit integer. A larger value indicates a higher severity. Valid values: 1 to 9. 1 indicates a minor error, such as an invalid user input, which has the lowest severity. 9 indicates a major error, such as an atomicity error, which has the highest severity.
General description Describes the intuitive cause of an error. Each general description corresponds to one error code.
Context-related description Helps you locate the cause of an error.

For example, in ODPS-0130131:Table not found - "myproject" "mytable", error code ODPS-0130131 corresponds to the general description Table not found. "myproject" "mytable" is an error message, which is used to locate the cause of the error.


If an error is displayed in the running results of a job when you use MaxCompute, you can resolve the issue by referring to the following procedure:
  1. Determine the module, severity, and cause of the error based on Error message format.
  2. Fix the error based on the error message. If the cause of the error is complex, you can use Logview to locate the error. For more information about Logview, see Use Logview V2.0 to view job information.


For more information about errors of different types, trigger conditions, and solutions, see the following topics: