Corpland Desk

Errors

What each error code means and what to do about it.

Errors come back as { "message": "...", "code": "..." }. The message is written for people and can change; match on code.

StatusCodeMeaning
401API_KEY_REQUIREDNo server key, or it does not start with dsk_live_ or dsk_test_.
401BAD_API_KEYThe key is wrong or was revoked.
404WORKSPACE_NOT_FOUNDThe key's workspace was deleted.
400EXTERNAL_ID_REQUIREDA contact needs external_id.
400CONTACT_REQUIREDStarting a conversation needs contact.external_id.
400BAD_STATUS, BAD_PRIORITY, BAD_TYPE, BAD_KINDA value is not one of the allowed ones listed on the API page.
404TICKET_NOT_FOUND, FEEDBACK_NOT_FOUND, CONVERSATION_NOT_FOUNDThe id does not exist in this workspace.
400BAD_URLA webhook URL is not a full https address, or points at a private network.
400BAD_EVENTSA webhook needs at least one event.
429TOO_MANY_REQUESTSSlow down. The server API allows 600 requests a minute per key; the widget has its own lower limits per visitor.

Widget errors

The widget never throws into your page. If the key is wrong or your site is not on the allowed list, the launcher does not appear and the browser console shows one line starting with Corpland Desk could not start: that says why.

On this page