Error Codes

exchange.notFound

No exchange was found for the specified ID.

exchange.id.required

The exchange ID was not included in the request.

exchange.search.key.invalid

The “key” search term is not a valid integer.

exchange.search.user.invalid

The “user” search term is not a valid integer.

exchange.search.before.invalid

The “before” search term is not a valid ISO 8601 timestamp.

exchange.search.after.invalid

The “after” search term is not a valid ISO 8601 timestamp.

exchange.search.completed.invalid

The “completed” search term is not a valid boolean value.

exchange.search.active.invalid

The “active” search term is not a valid boolean value.

exchange.search.type.invalid

The “type” search term is not a valid option. (DROPOFF, PICKUP, ACTIVATION)

exchange.user.notFound

No user was found with the specified ID, email address or phone number.

exchange.user.mobile.invalid

The specified mobile phone number is not a valid phone number.

exchange.key.required

The key ID was not included in the request.

exchange.key.invalid

No key was found with the specified ID.

exchange.key.owner

The specified key is not owned by the authenticated user.

exchange.key.forbidden

The specified key is not available for pickup.

exchange.key.billing

The specified key can not be picked up until a billing issue is resolved.

exchange.location.notFound

No location was found with the specified ID.

exchange.location.legacy

The specified location does not support mobile exchanges.

exchange.location.unavailable

The specified location is not available for exchanges at this time.

exchange.location.required

The activation request did not contain a location ID.

exchange.location.owner

The specified location is not owned by the authenticated user.

exchange.type.required

The exchange type was not included in the request.

exchange.type.invalid

An invalid exchange type was specified. (PICKUP, DROPOFF, ACTIVATION)

exchange.type.pickup.unavailable

The specified key is already checked out.

exchange.type.dropoff.unavailable

The specified key is already checked in.

exchange.type.activation.unavailable

The specified key is already activated.

exchange.type.activation.forbidden

The authenticated user does not have permission to activate the specified key.