FailureReason

This class gives details on the cause of a failed request.

Entries

Link copied to clipboard

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.

Link copied to clipboard

The request was not able to succeed because there either is already an active session, or no session was active when one was expected.

Link copied to clipboard

The client tried to start the authentication process but authentication is already in progress.

Link copied to clipboard

An internal error occurred trying to setup the authentication process.

Link copied to clipboard

The request failed because the charging connector was not connected to the vehicle.

Link copied to clipboard

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.

Link copied to clipboard

Corresponds to AuthorizationRequestErrors.CLIENT_ERROR.

Link copied to clipboard

The authenticated eMSP does not support the country of the charging station.

Link copied to clipboard

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.

Link copied to clipboard

A request failed due to an internal error.

Link copied to clipboard

Corresponds to AuthorizationRequestErrors.JSON_DESERIALIZATION_ERROR.

Link copied to clipboard

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.

Link copied to clipboard

The request failed because there was a network error. This could be because there was no internet connection or the eMSP server being unavailable.

Link copied to clipboard

The request failed because there was no authenticated eMSP service available to handle the request.

Link copied to clipboard

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.

Link copied to clipboard

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.

Link copied to clipboard

A request has failed due to a timeout.

Link copied to clipboard

Authentication is not possible due to some general error, such as a server error at the provider.

Link copied to clipboard

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

Link copied to clipboard
Link copied to clipboard

Functions

Link copied to clipboard

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.)

Link copied to clipboard

Returns an array containing the constants of this enum type, in the order they're declared.

Inherited functions

Link copied to clipboard
abstract fun describeContents(): Int
Link copied to clipboard
abstract fun writeToParcel(p0: Parcel, p1: Int)