Welcome to Zuora Product Documentation

Explore our rich library of product information

Event Definition errors

This reference provides a summary of event definition error codes, their messages, and suggested remedies for resolution.

Error code range: 70002139–70002216

CodeError CodeError MessagePossible Remedy
70002139EVENT_DEFINITION_EMPTY_NAMEAn event definition name is required.Provide a name for the event definition.
70002140EVENT_DEFINITION_EMPTY_SCHEMAAn event definition schema is required.Define the schema with at least one property (field).
70002141EVENT_DEFINITION_EMPTY_TYPEAn event definition type is required.Specify the type of the event definition.
70002142EVENT_DEFINITION_EMPTY_SCHEMA_PROPERTIESThe schema must contain at least one property.Add at least one field (property) to the event definition schema.
70002143EVENT_DEFINITION_INVALID_SCHEMA_PROPERTIES_TYPESchema properties must be defined as a map (key-value pairs).Ensure the properties field in the schema is a JSON object (map), not an array or primitive.
70002144EVENT_DEFINITION_INVALID_SCHEMA_PROPERTY_TYPEEach schema property must be defined as a map (key-value pairs).Ensure each property definition within the schema is a JSON object containing at least a type field.
70002145EVENT_DEFINITION_EMPTY_SCHEMA_PROPERTY_KEYThe schema property “[Property Name]” is empty. Please provide a value.Define the property with at least a type field.
70002146EVENT_DEFINITION_EMPTY_SCHEMA_PROPERTY_TYPEThe schema property “[Property Name]” does not have a type defined.Add a type field to the property definition (e.g., "type": "string").
70002147EVENT_DEFINITION_MULTIPLE_SCHEMA_EVENT_TIMEOnly one event time field is allowed. Please remove duplicates.Review the schema and ensure only one field is marked as the event time field. Remove the extra designation(s).
70002148EVENT_DEFINITION_INVALID_SCHEMA_REQUIRED_TYPEThe “required” field in the schema must be a list.Ensure the required field is a JSON array of field names (e.g., ["field1", "field2"]).
70002149EVENT_DEFINITION_EMPTY_FIELD_IN_SCHEMA_REQUIREDThe “required” list contains an empty entry. Please remove it or provide a value.Remove empty strings from the required array.
70002150EVENT_DEFINITION_FIELD_IN_SCHEMA_REQUIRED_​NOT_FOUND_IN_PROPERTIESThe required field “[Field Name]” is not defined in the schema properties.Either add the field to the schema properties or remove it from the required list.
70002151EVENT_DEFINITION_FIELD_IN_SCHEMA_REQUIRED_​HAS_DUPLICATIONThe “required” list contains duplicate entries. Please remove duplicates.Remove duplicate field names from the required array.
70002152EVENT_DEFINITION_METER_VERSION_ID_​SHOULD_BE_NULL_FOR_TENANT_SCOPEMeter version ID should not be set for a tenant-scoped event definition.Remove the meter version ID from the event definition if it is tenant-scoped.
70002153EVENT_DEFINITION_EMPTY_METER_VERSION_ID_​FOR_METER_SCOPEA meter version ID is required for a meter-scoped event definition.Provide the associated meter version ID when creating a meter-scoped event definition.
70002154EVENT_DEFINITION_EMPTY_SAMPLE_FILE_IDA sample file ID is required when testing with a sample file.Upload a sample file first and use its ID when running a test.
70002155EVENT_DEFINITION_CANNOT_UPDATE_ WHEN_​REFERENCED_BY_ACTIVE_METERSThis event definition cannot be updated because it is referenced by active meters. Please deactivate the meters first.Deactivate all meters that reference this event definition, make your changes, then reactivate the meters.
70002156EVENT_DEFINITION_CANNOT_DELETE_ WHEN_​REFERENCED_BY_METERSThis event definition cannot be deleted because it is referenced by meters.Remove the event definition from all meters before deleting it.
70002157CSV_INVALID_DELIMITER_LENGTHThe CSV delimiter must be a single character.Use a single-character delimiter for CSV (for example: comma , or tab \t).
70002158CSV_INVALID_FIRST_ROWThe first row number for CSV files must be greater than 0.Set the first data row to 1 or higher.
70002159EVENT_DEFINITION_DETECT_INVALID_PARSING_DEPTHThe maximum parsing depth must be greater than 0.Set the parsing depth to 1 or higher.
70002160SAMPLE_FILE_NOT_FOUNDThe sample file “[File Name]” was not found.Verify the sample file ID. Re-upload the file if it has been deleted.
70002161EVENT_DEFINITION_CANNOT_UPDATE_WHEN_​REFERENCED_BY_ACTIVE_METEREvent definition “[Event Definition Name]” cannot be updated because it is referenced by active meter “[Meter Name]” version “[Version Number]”.Deactivate meter "[Meter Name]" version "[Version Number]" before updating this event definition.
70002162EVENT_DEFINITION_CANNOT_DELETE_WHEN_​REFERENCED_BY_METEREvent definition “[Event Definition Name]” cannot be deleted because it is referenced by meter “[Meter Name]” version “[Version Number]”.Remove the reference from meter "[Meter Name]" version "[Version Number]" or delete the meter version before deleting the event definition.
70002163EVENT_DEFINITION_UNSUPPORTED_QUERY_ORDER_FIELDThe sort field “[Field Name]” is not supported. Please remove it from your query.Remove the unsupported field from the orderBy clause.
70002164EVENT_DEFINITION_INVALID_EXPORTED_CONTENTThe exported event definition content is invalid.Re-export the event definition or manually correct the exported JSON.
70002165CSV_EMPTY_HAS_HEADERThe “hasHeader” option must be set to true for CSV files.Enable the "hasHeader" option in the CSV file format settings.
70002166EMPTY_DATA_IN_FILENo data was found in file “[File Name]”. Please check that the file is not empty.Upload a file that contains data rows. Verify the file is not empty or corrupted.
70002167MAXIMUM_FILE_LINES_EXCEEDEDThe file exceeds the maximum of [Maximum Line Count] lines. Please upload a smaller file.Split your file into smaller chunks or reduce the number of rows to be within the limit.
70002168EMPTY_HEADER_IN_FILENo header row was found in the file. Please check that the file is not empty and contains a header.Ensure the file includes a header row as the first line with column names.
70002169EMPTY_RESOURCE_IDA resource ID is required.Include a resource ID in the request.
70002170CSV_COLUMN_SIZE_DOESNT_EQUAL_TO_HEADER_SIZEThe number of columns does not match the header on line [Line Number]. Please check the CSV formatting.Fix the CSV file at the indicated line. Ensure every data row has the same number of columns as the header. Check for unescaped delimiters or missing values.
70002171XML_NO_CHILD_NODES_UNDER_ROOTNo data nodes were found under the XML root element. Please refer to the XML example template.Add data nodes under the XML root element. Refer to the provided XML template for the expected structure.
70002172XML_NO_CHILD_NODES_UNDER_NODENo child nodes were found under data node “[Node Name]”. Please refer to the XML example template.Add child elements under the specified data node.
70002173TEST_DATA_NOT_FOUNDThe test data “[Test Data Name]” was not found.Verify the test data ID. Re-create the test data if it was deleted.
70002174CANNOT_DELETE_TEST_DATA_WITH_SAMPLE_DATATest data that includes sample data cannot be deleted.Remove the associated sample data first, then delete the test data.
70002175FILE_NOT_FOUNDThe file “[File Name]” was not found.Verify the file ID. The file may have been deleted. Re-upload it if needed.
70002176EMPTY_RUN_HISTORY_QUERY_PARAMA run history query parameter is required.Include query parameters (e.g., meter ID, time range) when querying run history.
70002177UNSUPPORTED_RUN_HISTORY_QUERY_FIELDThe sort field “[Field Name]” is not supported. Please remove it from your query.Remove the unsupported field from the query's orderBy clause.
70002178RUN_HISTORY_NOT_FOUNDThe run history “[Run History ID]” was not found.Verify the run history ID. It may belong to a different meter or may have been archived.
70002179AGGREGATION_FIELD_SCHEMA_DERIVATION_ERRORThe aggregation field “[Field Name]” could not be derived from the upstream processors in “[Processor Name]”.Ensure the aggregation field name matches a field available from the upstream processors. Check the output schema of predecessor operators.
70002180SOURCE_FIELD_SCHEMA_DERIVATION_ERRORThe source field “[Field Name]” could not be derived from the upstream processors in “[Processor Name]”.Ensure the source field name matches a field available from the upstream processors. Check the predecessor operator output schemas.
70002181EMPTY_METER_DEFINITIONA meter definition is required.Provide a valid meter definition with at least one source, one processor, and one target.
70002182PROCESSOR_NOT_FOUND_IN_METER_DEFINITIONThe processor “[Processor Name]” was not found in the meter definition.Verify the processor ID exists in the meter definition. Check for typos.
70002183PREDECESSORS_NOT_FOUNDThe processor “[Processor Name]” has no connected upstream processors.Connect at least one upstream processor (or source) to this processor.
70002184SCHEMA_DERIVATION_ERRORUnable to derive the schema for processor “[Processor Name]”.Review the processor's configuration and its upstream connections. Ensure predecessor operators have valid output schemas.
70002185DANGLING_SOURCEThe source “[Source Name]” is not connected to any processor. Please connect it to at least one processor.Draw a connection from this source to at least one downstream processor in the meter definition.
70002186SOURCE_HAS_NO_EVENT_DEFINITION_IDThe source “[Source Name]” does not have an event definition assigned.Assign an event definition to this source operator.
70002187SOURCE_HAS_EMPTY_METADATAThe source “[Source Name]” has no metadata configured.Configure the required metadata (connection, path, format, etc.) for the source operator.
70002188SOURCE_HAS_INVALID_EVENT_DEFINITION_IDThe source “[Source Name]” has an invalid event definition ID: “[Event Definition ID]”.Correct the event definition ID or assign a valid event definition.
70002189EVENT_DEFINITION_NOT_FOUND_IN_SOURCEThe event definition “[Event Definition Name]” was not found in source “[Source Name]”.Assign a valid, existing event definition to the source.
70002190SOURCE_HAS_EMPTY_EVENT_DEFINITIONThe event definition “[Event Definition Name]” in source “[Source Name]” is empty.Provide a complete event definition with a valid schema.
70002191SNOWFLAKE_UNSUPPORTED_AUTH_METHODThe Snowflake authentication method “[Authentication Method]” is not supported.Use a supported authentication method (e.g., key-pair authentication).
70002192SNOWFLAKE_UNSUPPORTED_UNLOAD_FILE_FORMATThe Snowflake unload file format “[File Format]” is not supported.Use a supported unload format (e.g., CSV, JSON, Parquet).
70002193SNOWFLAKE_SQL_ERRORA Snowflake SQL error occurred. Details: [Error Details].Review the SQL query for syntax errors. Check table/view names, column references, and permissions.
70002194NOT_ALL_TASK_IDS_ARE_SOURCE_OR_TARGETAll specified task IDs must be of type Source or Target.Ensure you only reference source or target operator IDs in this context.
70002195NO_SPECIFIC_TASK_ID_IN_METERNo matching task ID was found in the meter.Verify the task ID and ensure it exists in the meter definition.
70002196INVALID_FILE_NAMEThe file name “[File Name]” is invalid. Please include a file extension (for example, .csv or .json).Rename the file to include a valid extension.
70002197DEPENDENCY_CIRCLE_IN_METER_DEFINITIONA circular dependency was detected at processor “[Processor Name]”. Please review the processor connections.Break the circular dependency by rearranging the processor connections so data flows in one direction without loops.
70002198ON_DEMAND_QUERY_UNSUPPORTED_SOURCE_TYPEThe source type “[Source Type]” is not supported for on-demand queries.Use a supported source type for on-demand queries.
70002199ON_DEMAND_QUERY_SOURCE_FOLDER_NOT_EXISTINGThe source data “[Source Data Name]” was not found.Verify the source data path exists and contains data.
70002200SNOWFLAKE_ROLE_NOT_AUTHORIZEDThe Snowflake role “[Role Name]” was not found or you do not have access to it.Verify the Snowflake role name and ensure your Snowflake user has been granted this role.
70002201SNOWFLAKE_DATABASE_NOT_AUTHORIZEDThe Snowflake database “[Database Name]” was not found or you do not have access to it.Verify the database name and ensure the configured Snowflake role has access to it.
70002202SNOWFLAKE_SCHEMA_NOT_AUTHORIZEDThe Snowflake schema “[Schema Name]” was not found or you do not have access to it.Verify the schema name and ensure the configured Snowflake role has access.
70002203SNOWFLAKE_TABLE_NOT_AUTHORIZEDThe Snowflake table “[Table Name]” was not found or you do not have access to it.Verify the table name and ensure the configured Snowflake role has SELECT privileges.
70002204SNOWFLAKE_DUPLICATED_TABLEMultiple Snowflake tables named “[Table Name]” exist. Please specify the database and schema.Fully qualify the table name with database and schema (e.g., my_db.my_schema.my_table).
70002205SNOWFLAKE_WAREHOUSE_NOT_AUTHORIZEDThe Snowflake warehouse “[Warehouse Name]” was not found or you do not have access to it.Verify the warehouse name and ensure the Snowflake role has USAGE privileges on it.
70002206UNSUPPORTED_METER_QUERY_FIELDThe query field “[Field Name]” is not supported.Remove the unsupported field from your query.
70002207UNSUPPORTED_METER_SOURCE_TYPEThe source type “[Source Type]” is not supported.Use a supported source type. Check the documentation for the list of available source types.
70002208EVENT_DEFINITION_INVALID_FIELD_NAMEThe event definition field name “[Field Name]” is invalid.Use valid characters in field names (letters, numbers, underscores). Avoid special characters and spaces.
70002209FIELD_VALUE_WRONG_TYPEThe value of field “[Field Name]” must be a list.Provide the field value as a JSON array.
70002210FIELD_VALUE_TYPE_SHOULD_BE_NUMBERThe condition field “[Field Name]” must have a numeric value.Provide a numeric value for this condition field.
70002211INVALID_OUTPUT_SCHEMAInvalid output schema: no properties defined for “[Property Name]” in node “[Node Name]”.Add properties to the output schema for this operator.
70002212UNSUPPORTED_SCHEMA_DATA_TYPEThe schema data type “[Data Type]” is not supported.Use a supported data type: string, number, integer, boolean, object, array.
70002213UNSUPPORTED_SCHEMA_SAMPLE_FORMATThe schema sample format “[Format]” is not supported.Use a supported sample file format (JSON, CSV, Avro).
70002214MISSING_SOURCE_OPTIONSSource options are required.Provide source options (test data, sample file, etc.) when running or testing the meter.
70002215SCHEMA_DERIVATION_MISSING_TASK_IDA task ID is required for schema derivation.Provide the task (operator) ID for which to derive the schema.
70002216SCHEMA_DERIVATION_MISSING_METER_DEFINITIONA meter definition is required for schema derivation.Provide the meter definition when requesting schema derivation.