Staff Members API Errors

This articles outlines error messages that might be issued when calling endpoints of the Staff Members API.

Create Resource Errors

The Create Staff Member endpoints might issue the following error messages:

HTTP status
Error code
Error message
Troubleshooting
INVALID_ARGUMENT (400)NO_IMAGE_FOUNDImage: imageId does not existThe provided image id cannot be resolved by the Wix media API, make sure you first upload an image and use it's ID.

Update Staff Member Errors

The Update Staff Member endpoint might issue the following error messages:

HTTP status
Error code
Error message
Troubleshooting
INVALID_ARGUMENT (400)NO_IMAGE_FOUNDImage: imageId does not existThe provided image id cannot be resolved by the Wix media API, make sure you first upload an image and use it's ID.

Connect Staff Member to User Errors

The Connect Staff Member to User endpoint might issue the following error messages:

HTTP status
Error code
Error message
Troubleshooting
INVALID_ARGUMENT (400)NO_EMAILStaff: staffId has no email and no additional email was providedTo connect a staff member to a user, either the staff should have an email associated with it, or an email should be explicitly stated in the request
INVALID_ARGUMENT (400)STAFF_ALREADY_CONNECTEDStaff: staffId is already connectedThe staff member is already connected to a user.
UNAUTHENTICATED (400)USER_ALREADY_CONNECTEDUser userId already connectedThe user connected to the specified email already has a different staf member associated with it.
ALREADY_EXISTS (400)INVITE_ALREADY_SENTStaff invite for staff: staffId already sentThe email stated (or connected to the staff) in the request already has a pending invite.

Disconnect Staff Member from User Errors

The Disconnect Staff Member to User endpoint might issue the following error messages:

HTTP status
Error code
Error message
Troubleshooting
INVALID_ARGUMENT (400)STAFF_NOT_CONNECTEDStaff: staffId is not connectedThe specified staff member doesn't have a user associated with it.
Did this help?