Amplitude · Schema
ErrorResponse
A/B TestingAnalyticsExperimentationFeature FlagsProduct AnalyticsUser Behavior
Properties
| Name | Type | Description |
|---|---|---|
| code | integer | The HTTP status code of the error. |
| error | string | A human-readable error message describing the issue. |
| missing_field | string | The name of the required field that is missing, if applicable. |
| events_with_invalid_fields | object | A map of field names to arrays of event indices that had invalid values for those fields. |
| events_with_missing_fields | object | A map of field names to arrays of event indices that were missing required fields. |
JSON Schema
{
"$schema": "https://json-schema.org/draft/2020-12/schema",
"$id": "#/components/schemas/ErrorResponse",
"title": "ErrorResponse",
"type": "object",
"properties": {
"code": {
"type": "integer",
"description": "The HTTP status code of the error."
},
"error": {
"type": "string",
"description": "A human-readable error message describing the issue."
},
"missing_field": {
"type": "string",
"description": "The name of the required field that is missing, if applicable."
},
"events_with_invalid_fields": {
"type": "object",
"description": "A map of field names to arrays of event indices that had invalid values for those fields.",
"additionalProperties": {
"type": "array",
"items": {
"type": "integer"
}
}
},
"events_with_missing_fields": {
"type": "object",
"description": "A map of field names to arrays of event indices that were missing required fields.",
"additionalProperties": {
"type": "array",
"items": {
"type": "integer"
}
}
}
}
}