Subscribe to the 'map download/import failed' event.
GET/maps/events/download-failed
This endpoint allows clients to subscribe to server-sent events (SSE) that notify them when a map download or import has failed. The response includes basic information about the map associated with the failed operation.
Request
Responses
- 200
- application/json
- Schema
- Example (from schema)
Schema
-
typeis the specific error type (e.g.,ClientError,InternalServerError). -
msgis the associated error message (a string). - MOD1
- MOD2
- MOD3
- MOD4
- MOD5
- MOD6
- MOD7
- MOD8
- MOD9
- MOD10
- MOD11
- MOD12
- MOD13
- MOD14
- MOD15
- MOD16
error
object
nullable
Represents various types of errors that can occur in the application.
When serialized, it will be represented in the following format:
{
"type": "ErrorType",
"msg": "ErrorMessage"
}
Where:
oneOf
Possible values: [ClientError]
Possible values: [InternetConnectionError]
Possible values: [UnauthorizedError]
Possible values: [InternalServerError]
Possible values: [MissingDataError]
Possible values: [ParsingFailedError]
Possible values: [WritingDataError]
Possible values: [ForbiddenError]
Possible values: [NotAllowedError]
Possible values: [ValidationError]
Possible values: [SQLError]
Possible values: [StorageLimitExceededError]
Possible values: [StorageUnavailable]
Possible values: [ConflictError]
Possible values: [MatomoError]
Possible values: [ProcessInterrupted]
The filename associated with the map, if available.
This field includes the name of the file, optionally without its extension.
It can be None if the filename is unavailable or unspecified.
Name of the map or the inventory item.
Request ID associated with the map inventory.
{
"error": {
"msg": "string",
"type": "ClientError"
},
"fileName": "string",
"name": "string",
"reqId": "string"
}