Submit API Errors

General Error Messages

Submit API Errors can be caused by invalid data in your POST request, missing data, or by bugs on our end. The following messages should give you a good idea where the error is coming from, and how you can fix it. To see the JSON format of these messages, read the Submit API Response section.

The supplied API key is incorrect.

The 16 digit API key you used did not match the key we have on record for your account. Be sure to make sure you use you username in the subdomain of the URL. For example, username.wufoo.com/api/query/.

The supplied form URL was not found.

In your account, no form was found with the URL you supplied. This often occurs when a form is renamed since all URL’s are based off of a form’s name. Try double checking the URL given.

The supplied subdomain was not found.

We could not find an account on record with the subdomain that you supplied.

The fields do not match up.

All fields that are on the actual Wufoo form itself must be submitted through the API. So if your form were to have 5 fields, then 5 corresponding field values must always be submitted.

Error Code Messages

The error messages usually have to do with incorrect form data such as the an invalid URL or subdomain. The submit API also validates all of the form data submitted and will return errors if the data does not validate. If invalid data is submitted, the response string will contain error codes depending on the error generated. As explained in the Submit API Response section, invalid data will return an error something like this.

{"wufoo_submit":[{"success":"false", "error":"", "field_errors":[{"field_id":"field117", "error_code":"0"}]}]}

The error message that belongs to corresponding error code is in the JSON string, but we send the code in case you want to do display something different than the message to the user based off the code. For example, if you want the error message to be in a foreign language, or if you want a different message than what we give, you can easily do so by knowing that the error code means.

Error Code 0

The user left a required field blank.

Error Code 2

An invalid email address was entered.

Error Code 3

An invalid American phone number was entered.

Error Code 4

An invalid European phone number was entered.

Error Code 5

A non numeric number was entered.

Error Code 7

An invalid American date was entered.

Error Code 8

An invalid European date was entered.

Error Code 9

An invalid time was entered.

Error Code 10

An invalid currency was entered.

Error Code 11

An invalid URL was entered.

Error Code 12

The user tried to submit over 20MB of file uploads at once.

Error Code 13

The form can no longer accept file uploads.

Error Code 14

An invalid file type was submitted.

Error Code 15

Filenames ending with .exe or .dll or .php or .php3 or .phps may not be uploaded.

Error Code 16

There was a problem submitting the file upload.

Error Code 17

The entry already exists and no duplicate entries are allowed.

If you receive any errors other than the ones above, please contact support@wufoo.com and send the error message.

Updated : January 31st, 2007