# SENTCompletionHandlers

### SENTStartTripFailureReason

Failure Issues when Starting a trip manually.

| Issue                                          | Description                                                                     |
| ---------------------------------------------- | ------------------------------------------------------------------------------- |
| SENTStartTripFailureReasonNoUser               | No Sentiance user is present on device.                                         |
| SENTStartTripFailureReasonDetectionsDisabled   | Detections are disabled. Enable them first before starting a trip.              |
| SENTStartTripFailureReasonDetectionsBlocked    | Detections are enabled but not running. Check the SDK's status to find out why. |
| SENTStartTripFailureReasonTripAlreadyStarted   | An external trip is already started.                                            |
| SENTStartTripFailureReasonUserDisabledRemotely | The user is disabled remotely.                                                  |

### SENTSubmitDetectionsFailureReason

Failure issues when submitting detections manually.

<table><thead><tr><th width="528.3488372093024">Issue</th><th>Description</th></tr></thead><tbody><tr><td>SENTSubmitDetectionsFailureReasonNoUser</td><td>No Sentiance user is present on device.</td></tr><tr><td>SENTSubmitDetectionsFailureReasonNetworkError</td><td>A network error occurred.</td></tr><tr><td>SENTSubmitDetectionsFailureReasonUserDisabledRemotely</td><td>The user is disabled remotely.</td></tr></tbody></table>

### SENTUserAccessTokenFailureReason

Failure issues when requesting user access token.

| Issue                                                | Description                                                                                                                                            |
| ---------------------------------------------------- | ------------------------------------------------------------------------------------------------------------------------------------------------------ |
| SENTUserAccessTokenFailureReasonNoUser               | No Sentiance user is present on device. Call createUserWithOptions:completionHandler: to create a user.                                                |
| SENTUserAccessTokenFailureReasonNetworkError         | A network error occurred. This can happen when the existing token is expired, and it was not possible to contact the Sentiance platform to refresh it. |
| SENTUserAccessTokenFailureReasonUserDisabledRemotely | The user is disabled remotely.                                                                                                                         |
