Error code
INSUFFICIENT_PERMISSIONS
Not allowed for this account
On this page
Cause
The user behind the API key may not access this resource: the journey or offer belongs to another company, or the account lacks the permission for this call. Some endpoints also return it for an id that does not exist, and Delete API key returns it for a key you do not own.
What to do
Check that the id belongs to your company and that you use the key of the right user. Ask Transferz to check the account's permissions if the id is correct.
Endpoints that return it
- Generate payment link POST /bookings/{id}/generate-payment-link
The booking belongs to another partner.
- Get journey by id GET /journeys/{journeyId}
The journey belongs to another partner.
- Get journey voucher GET /journeys/{journeyId}/voucher
The journey belongs to another partner.
- Get available add-ons GET /journeys/{journeyId}/available-addons
The journey belongs to another partner.
- Get booking by id GET /bookings/{id}
The booking belongs to another partner.
- Unassign vehicle PUT /journeys/{id}/unassign-vehicle
The journey is not assigned to your company (also returned for an unknown id).
- Unassign driver PUT /journeys/{id}/unassign-driver
The journey is not assigned to your company (also returned for an unknown id).
- Update status to 'in progress' PUT /journeys/{id}/status/in-progress
The journey is not assigned to your company (also returned for an unknown id).
- Update status to 'driver underway' PUT /journeys/{id}/status/driver-underway
The journey is not assigned to your company (also returned for an unknown id).
- Update status to 'driver arrived' PUT /journeys/{id}/status/driver-arrived
The journey is not assigned to your company (also returned for an unknown id).
- Update pickup information PUT /journeys/{id}/pickup-info
The journey is not assigned to your company (also returned for an unknown id).
- Mark that the host met the traveller PUT /journeys/{id}/host-traveller-met
The journey is not assigned to your company (also returned for an unknown id).
- Update driver position PUT /journeys/{id}/driver-position
The journey is not assigned to your company (also returned for an unknown id).
- Complete journey PUT /journeys/{id}/complete
The journey is not assigned to your company (also returned for an unknown id).
- Assign vehicle PUT /journeys/{id}/assign-vehicle
The journey is not assigned to your company (also returned for an unknown id).
- Assign to driver PUT /journeys/{id}/assign-driver
The journey is not assigned to your company (also returned for an unknown id).
- Search actions GET /actions
The journey is not assigned to your company (also returned for an unknown id).
- Create action POST /actions
The journey is not assigned to your company (also returned for an unknown id).
- Upload attachment POST /actions/{actionId}/photo
The journey is not assigned to your company (also returned for an unknown id).
- Get operation zone GET /operation-zones/{id}
The zone is not one of your company's.
- Get offer GET /offers/{id}
The offer is for another company.
- Get journey GET /journeys/{id}
The journey is not assigned to your company (also returned for an unknown id).
- Get geo zone GET /geo-zones/{id}
The zone is not available to your company.