Bespot SDK Errors
Both Bespot Android and iOS SDKs may report an error in case something goes wrong. Find the error list for each platform along with a short description in the following table.
| Android | iOS | Description |
|---|---|---|
| AuthFailure.NoActiveAccount | noActiveAccount | No active account found with the provided credentials. |
| SessionFailure.SessionNotFound | sessionNotFound | No active InOut session was found. |
| StatusFailure.IndoorDataModelNotFound | indoorDataModelNotFound | Indoor data model not found for store. |
| StatusFailure.InOutUnavailable | inOutUnavailable | InOut service is not available or returned an error. |
| StatusFailure.NoStoreReadings | noStoreReadings | No beacon readings found belonging to the current store. |
| StoreFailure.NoStoreNearby | noStoreNearby | No registered stores are found nearby. |
| StoreFailure.MultipleStoreNearby | multipleStores | Receiving beacon readings from multiple stores. |
| StoreFailure.NoStoreFound | noStoresFound | No store found matching the provided beacon identifiers. |
| StoreFailure.StoreUnderMaintenance | storeUnderMaintenance | Store is under maintenance. In/Out status is unavailable. |
| Failure.DeviceNotSupported | deviceNotSupported | Device not supported. In/Out status is unavailable. |
| Failure.NotInitialized | notInitialised | Bespot SDK is not initialised. |
| Failure.NetworkConnection | networkError | Internet is not reachable. |
| Failure.BluetoothPermissionDenied | bluetoothPermissionDenied | Bluetooth permission is denied. |
| Failure.BluetoothDisabled | bluetoothError | Bluetooth is powered off. |
| Failure.LocationPermissionDenied | - | Location Services permission is denied. |
| Failure.LocationServicesDisabled | - | Location Services are powered off. |
| Failure.ServerError | unknownServerError | An unknown server error occurred. |
| - | internalClientError | An internal BespotSDK client error occurred. |
| - | notAuthenticated | Authentication credentials were not provided. |
| - | notSubscribed | You first need to subscribe to receive In/Out updates. |
| - | noLocationorReadingsData | No location or beacon readings data provided to resolve to a store. |
| ServiceUnavailableFailure.OutsideBusinessHours | serviceUnavailableOutsideWorkingHours | Service is not available outside of business hours. |