Fairmatic Error Code
An error code that indicates the type of error that occured during a Fairmatic SDK operation.
Entries
The Android version on the device is not supported by the SDK. The SDK supports API 21 and above.
Google play services unavailable on the device. Application may prompt users to install Google play services and try again. For prompting the user to resolve the issue:
The version of Google Play Services installed on the device needs to be updated for use with the Fairmatic SDK. For prompting the user to resolve the issue:
The SDK key provided during SDK setup is invalid.
The driver id provided during SDK setup is invalid.
The operation failed because the SDK is not yet setup.
The tracking id provided to com.fairmatic.sdk.Fairmatic.startDrive or com.fairmatic.sdk.Fairmatic.stopManualDrive call is invalid.
Called com.fairmatic.sdk.Fairmatic.stopManualDrive when no manual drive in progress. Note that trying to stop an automatically detected drive will return this error code.
The session id provided to startSession call is invalid.
This device does not have sensors that support Accident Detection.
This application does not have Accident Detection enabled.
This device is not connected to network.
High accuracy location updates is not enabled on the device. The app may prompt users to enable High Accuracy location updates in Location Settings.
This error is applicable only for android 14 and above. Due to OS constraints, manual drive cannot be started without location permission.
This indicates an internal SDK error which caused a SDK operation to fail. The error message contains more details. Contact "support@fairmatic.com" if issue does not fix itself soon. This is used as the default error code.
This operation failed because it should not be called when the sdk is running.
This operation failed because it should not be called when com.fairmatic.sdk.Fairmatic.setup is in progress.
This operation failed because it should not be called when com.fairmatic.sdk.Fairmatic.teardown is in progress.
This indicates error conditions encountered when triggering mock accidents.
Operation failed because FairmaticNotificationProvider class was NULL.
Operation failed because Fairmatic debug data failed to upload.
Operation failed because it is not supported by FairmaticSDK-testing Library.
Operation failed because FairmaticConfiguration was null.
User is not authorized to use this application.
Operation failed because the set vehicle type feature is disabled in the config.
Invalid value was passed for a given TripParameter.
This error is applicable only for Huawei devices. Google play services and Huawei mobile services are unavailable on the device.
This error is applicable only for Huawei devices. The version of Huawei Mobile Services installed on the device needs to be updated for use with the Fairmatic SDK.
This error is applicable only for Huawei devices. This device is currently unsupported by the Fairmatic SDK.
The driver id provided during SDK setup is invalid.
Sdk key not found/fleet is not active / fleet not found
Fleet size limit exceeded 100000
Driver Deleted
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.