Log Based API Error Codes
Applies from release 2020.4
When reviewing the API logs, you can refer to the table below for error codes and the corresponding error details. The Alation API usage log public_api.log can be found at
- Inside Alation Shell /data1/site_data/logs/
- Outside Alation Shell /opt/alation/alation/data1/site_data/logs/
Code | Key | Description |
---|---|---|
400000 | BAD_REQUEST | Invalid request |
400001 | INVALID_BI_KEY_FIELD | Invalid key field in request query. Unable to fetch BI object(s) using the provided field as no such field exists |
400002 | IMPROPER_BI_OBJECT_DEFINITION | Definition of the provided BI object is improper |
400003 | BI_OBJECT_FIELD_MISMATCH | One or multiple fields provided in BI object definition does not match the objects' being modified. It is usually the [id] field |
400004 | BI_OBJECT_EXTERNAL_ID_MISSING | [external_id] field is required in the request payload to create new BI objects |
400006 | BI_IMPROPER_QUERY_PARAMETERS | Request query parameters provided are invalid or the type of value(s) is not supported. Please refer the API specification |
400007 | BI_REPORT_INVALID_IMAGE | The uploaded image could not be identified. Make sure to upload the file in a supported format and with the [image] key. Please refer the API specification for more information regarding the request headers/ format |
400008 | DATAFLOW_INVALID_JSON | The given payload is not a valid json |
400009 | DATAFLOW_CREATION_NOT_DICT | Bulk create requires a dictionary of 'dataflow_objects' and optionally 'paths' associated |
400010 | DATAFLOW_CREATION_BAD_REQUEST | The given payload has missing required fields or incorrect data. Please fix the errors and resubmit the request. Please refer the API specification and the API response for more information regarding the request |
400011 | DATAFLOW_CREATION_INVALID_KEYS | The given payload has fields other than 'dataflow_objects' and 'paths' |
400012 | DATAFLOW_OBJECTS_IS_REQUIRED | DataFlow objects is a required input in the payload |
400013 | DATAFLOW_OBJECTS_IS_NULL | Expected a list of DataFlow objects but got 'null' |
400014 | DATAFLOW_OBJECTS_NOT_LIST | Expected a list of DataFlow objects but got a type other than 'list' |
400015 | DATAFLOW_OBJECTS_EMPTY | DataFlow objects list should not be empty |
400016 | DATAFLOW_OBJECT_INVALID_TITLE | DataFlow object's title is not a valid string |
400017 | DATAFLOW_OBJECT_NULL_TITLE | Expected a valid DataFlow object title but got 'null' |
400018 | DATAFLOW_OBJECT_INVALID_DESCRIPTION | DataFlow object's description is not a valid string |
400019 | DATAFLOW_OBJECT_NULL_DESCRIPTION | Expected a valid DataFlow object description but got 'null' |
400020 | DATAFLOW_OBJECT_INVALID_EXTERNAL_ID | External identifier is not a valid string |
400021 | DATAFLOW_OBJECT_BLANK_EXTERNAL_ID | External identifier should not be blank |
400022 | DATAFLOW_OBJECT_NO_EXTERNAL_ID | External identifier is a required input |
400023 | DATAFLOW_OBJECT_EXTERNAL_ID_INVALID_PREFIX | External identifier doesn't start with the expected prefix |
400024 | DATAFLOW_OBJECT_NULL_EXTERNAL_ID | Expected a valid External identifier but got 'null' |
400025 | DATAFLOW_OBJECT_INVALID_CONTENT | DataFlow object's content is not a valid string |
400026 | DATAFLOW_OBJECT_NULL_CONTENT | Expected a valid DataFlow object content but got 'null' |
400027 | NODE_OTYPE_INVALID | Lineage Node's Object type is not a valid string |
400028 | NODE_OTYPE_BLANK | Lineage Node's Object type should not be blank |
400029 | NODE_OTYPE_REQUIRED | Lineage Node's Object type is a required input |
400030 | NODE_OTYPE_NULL | Lineage Node's Object type should not be 'null' |
400031 | LINEAGE_NOT_SUPPORTED_FOR_OTYPE | Lineage is not supported for the given otype |
400032 | NODE_KEY_INVALID | Lineage Node's Key is not a valid string |
400033 | NODE_KEY_BLANK | Lineage Node's Key should not be blank |
400034 | NODE_KEY_REQUIRED | Lineage Node's Key is a required input |
400035 | NODE_KEY_NULL | Lineage Node's Key should not be 'null' |
400036 | NODE_OBJECT_INVALID | Lineage Node should be of type Object |
400037 | NODE_OBJECT_NULL | Lineage Node should be of type Object but got 'null' |
400038 | NODE_COLLECTION_NULL | Lineage Nodes list should not be 'null' |
400039 | NODE_COLLECTION_EMPTY | Lineage Nodes list should not be empty 400040 |
400041 | PATH_EMPTY | Expected a collection of Node Segment objects for a Path but got empty |
400042 | PATH_WITH_NO_TARGET | Path should contain target node(s) |
400043 | PATH_WITH_DATAFLOW_AT_START | Path should not begin with a dataflow node |
400044 | PATH_WITH_DATAFLOW_AT_END | Path should not end with a dataflow node |
400045 | PATH_COLLECTION_IS_NULL | Expected a list of Path objects but got 'null'. |
400046 | PATH_COLLECTION_IS_NOT_LIST | Expected a list of Path objects but got a type other than 'list' |
400047 | PATH_COLLECTION_IS_EMPTY | Paths list should not be empty |
400048 | DATAFLOW_OBJECT_IS_INVALID | Expected a valid DataFlow object but got a different type |
400049 | DATAFLOW_OBJECT_IS_NULL | Expected an object of type DataFlow but got 'null' |
400050 | PATH_IS_NULL | Expected a collection of Node Segment objects for a Path but got 'null' |
400051 | PATH_IS_NOT_LIST | Expected a collection of Node Segment objects for a Path but got a different type |
400052 | DATAFLOW_DELETE_BAD_REQUEST | The given query params has incorrect format or empty data. Please refer the API specification and the API response for more information regarding the request |
400053 | DATAFLOW_OID_LIST_EMPTY | Dataflow object id list cannot be empty |
400054 | DATAFLOW_OID_NOT_LIST | Dataflow object ids should be a list but got a type other than 'list' |
400055 | DATAFLOW_KEYFIELD_INVALID | Provided dataflow keyfield is invalid. It should either be 'id' or 'external_id' |
400056 | DATAFLOW_IDS_INVALID | Dataflow object ids in the list are invalid, please ensure all ids are in a valid integer format. |
400057 | DATAFLOW_EXT_IDS_INVALID | Dataflow external ids in the list are invalid, please ensure all external ids are in a valid string format. |
400058 | DATAFLOW_OBJECT_INVALID_ID | Identifier is not a valid number |
400059 | DATAFLOW_OBJECT_BLANK_ID | Identifier should not be blank |
400060 | DATAFLOW_OBJECT_NO_ID | Identifier is a required input |
400061 | DATAFLOW_OBJECT_NULL_ID | Expected a valid Identifier but got 'null' |
400062 | DATAFLOW_OBJECT_WITH_NO_FIELDS | DataFlow object should contain at least one field to be updated |
400063 | DATAFLOW_DUPLICATE_RECORD | DataFlow object with same object_id(id or external_id) already exists in the payload. |
400064 | IMPROPER_QUERY_PARAMETERS | Request query parameters provided are invalid or the type of value(s) is not supported. Please refer the API specification |
401000 | UNAUTHORIZED | Unauthorized request |
403000 | FORBIDDEN | Forbidden request |
403001 | NON_VIRTUAL_BI_SERVER_FORBIDDEN | Cannot modify a non-virtual BI server |
404000 | NOT_FOUND | Resource not found |
404001 | BI_OBJECT_NOT_FOUND | Requested BI object is not found in the system |
404002 | OBJECT_NOT_IN_BI_SERVER | The object is not in the given BI server |
404003 | PARENT_BI_OBJECT_NOT_FOUND | The referenced parent(s) to the object under modification does not exist |
405000 | NOT_ALLOWED | Method not allowed |
409000 | CONFLICT | Resource already exists |
429000 | MANY_REQUESTS | Too many requests |
500000 | INTERNAL_ERROR | Internal error |
500001 | API_THROTTLE_CONFIG_ERROR | Unable to read or parse throttle value in conf. Rate should be a positive integer or None over a duration mentioned by s, m, h, d |
Updated about 1 year ago