Error Management

For webhooks, the success of receipt is determined by checking the HTTP status code in the response. To indicate that the data has been successfully received by Moaform, a 2XX HTTP status code must be returned. Any response other than a 2XX code, including no response, will be considered a failure to receive.

In case of receipt failure, the following rules are applied:

  1. If the 'SSL Verification' setting is enabled but the endpoint's certificate verification fails, it will be treated as a 500 error, and the webhook will be immediately deactivated, with a notification sent to the Moaform account email.
  2. If a 410 Gone or 404 Not Found status is received, no retry will be made, and the webhook will be immediately deactivated, with a notification sent to the Moaform account email.
  3. If 429 Too Many Requests, 408 Timeout, 503 Service Unavailable, or 423 Locked codes are received, Moaform will retry every 2-3 minutes for 10 hours.
  4. If any other HTTP code is received, Moaform will retry the request to the endpoint five times using a back-off mechanism after 5, 10, 20, 60, and 120 minutes.
  5. If for any reason the webhook fails all transmissions more than 300 times within 24 hours, the webhook will be deactivated, with a notification sent to the Moaform account email.