FailureReason
This class gives details on the cause of a failed request.
Entries
The request was not able to succeed because there is a problem with the user account. This could be that the user does not have a valid charge pass assigned to their account.
The request was not able to succeed because there either is already an active session, or no session was active when one was expected.
The client tried to start the authentication process but authentication is already in progress.
An internal error occurred trying to setup the authentication process.
The request failed because the charging connector was not connected to the vehicle.
The request failed because there was a problem with the charging point. This could be because it is offline, occupied, reserved, timeout or out of service.
Corresponds to AuthorizationRequestErrors.CLIENT_ERROR.
The authenticated eMSP does not support the country of the charging station.
The specified eMSP was not found. This could be because there is no eMSP with the specified identifier in the system or the eMSP plugin was not available because, it had, for example, crashed or not finished starting up yet.
A request failed due to an internal error.
Corresponds to AuthorizationRequestErrors.JSON_DESERIALIZATION_ERROR.
The login process was canceled. This could be, for example, because the end-user closed the login UI without logging in and abandoned the login process.
The request failed because there was a network error. This could be because there was no internet connection or the eMSP server being unavailable.
The request failed because there was no authenticated eMSP service available to handle the request.
No active session appeared after a certain time. This could be because the charging connector was not connected to the vehicle or to the charging point.
The request was not able to succeed because what has been requested wasn't found. This could be that a resource was requested which is unknown to the eMSP, for example tariff information for a specific charging station which is unknown to the eMSP.
A request has failed due to a timeout.
Authentication is not possible due to some general error, such as a server error at the provider.
The user is not authorized to perform this request. This could be because the user lacks the necessary credentials, permission or roles to perform the request.
Inherited properties
Functions
Returns the enum constant of this type with the specified name. The string must match exactly an identifier used to declare an enum constant in this type. (Extraneous whitespace characters are not permitted.)
Returns an array containing the constants of this enum type, in the order they're declared.