- [JSON representation](https://firebase.google.com/docs/reference/fcm/rest/v1/FcmError#SCHEMA_REPRESENTATION)

Message that may be returned in an error response to add details.

| JSON representation |
|---|
| ``` { "error_code": enum (`https://firebase.google.com/docs/reference/fcm/rest/v1/ErrorCode`) } ``` |

| Fields ||
|---|---|
| `error_code` | ``enum (`https://firebase.google.com/docs/reference/fcm/rest/v1/ErrorCode`)`` Error code specifying why the message failed. |