An 'Unexpected error' message displayed in Webforms can relate to several different factors - but the full reason can be seen, by adding showerrordetail=true within the the URL
https://webforms.uk.pt-x.com/forms/<Company-ID>/<Form-ID>?showerrordetail=true
Some example errors:
- Details: The value 'xxxxxx' is not valid for Start date.
- Reason: Plan Start date must use the format of YYYY-MM-DD
- Details: Error in retrieving collection profile
- Reason: This can either be related to the DDM user account being locked out/invalid or if the DDM Collection Profile is set to allow users to edit mandate reference, then ddplanreference= should not be provided within the URL.
- Details: At least one month of the year should be selected
- Reason: This normally relates to ddplanspecification= format in use. If the Plan is set to Yearly, then the format should follow: {Yearly}, {month of year}, {day of month} Yearly,December,15