Form Gateway Errors

In addition to the standard gateway errors, if you're implementing a form gateway, you should implement the following error codes as well.

400 FORM_OUT_OF_DATE - Moveworks submitted a form which is no longer valid since it has been updated in the source system.

Copy
Copied
{
  "error": {
      "code": "FORM_OUT_OF_DATE",
      "message": "This form was last updated on 2022-10-20T07:00:00Z which is after the ingestion metadata date (2022-10-19T07:00:00Z)"
  }
}

If you surface this error code, Moveworks will gracefully handle it by linking your employees to the latest version of the form. See example below:

Out-of-date error