Kindly follow the steps below to check the form submission error:
- If error on Submission is as shown below:
Lead updated sucessfully. Failed to create 1 activitie(s).
OR
Activity created sucessfully. Failed to create Lead.
- Make sure to check the network logs for the same, before reporting it to Dev. These are the basic checks which is mandatory to know the reason for
failure. - While reproducing the same before clicking on “Save or Submit”, right click (Ctrl+I) and select inspect.
- Select Network and search/look for save request as shown below and click on response:
Response Statement copied from Response tab:
{“Status”:”Failure”,”Message”:”Lead updated sucessfully. Failed to create 1 activitie(s). \r\n”,”Data”:{“LeadId”:”7f7f6ad2-e1f6-4fc6-9967 12faea41a707″,”IsNewLead”:false,”ActivityDetails”:[{“ActivityEvent”:”153″,”ActivityId”:”3f2224dc-60cd-4e00-9525-a1b62f5071fd”,”FormId”:”[“984fdc79-8ab5-47ea-b78c 46f05d1090da”]”,”IsNewActivity”:true,”ReasonForFailure”:”Field value of u0027mx_CustomObject_2u0027 of parent field u0027mx_Custom_31u0027 is invalid. File Extensions should be one of png, jpg, jpeg,bmp“,”IsAddMoreSubForm”:false,”SecondaryLeadsCreated []}],”Status”:”Failure”,”IsLeadCreatedOrUpdated”:true,”ProcessActionExecutorResponse”:null,”IsAccountCreatedOrUpdated”:false,”IsNewAccount”:false,”ParentSubmissionMappingId”:null,”SubmissionMapping”:null,”TaskSaveResponse”:null,”OpportunityDetails”:[]},”ExceptionData”:null}
- This will give “ReasonForFailure”.
- Go to Payload, drilldown the formentity as shown below, followed by the subsequent sections based on the “ReasonForFailure” and look for the data sent:
Above steps will give you the error, error reason and payload to check what was wrong.
- Sometimes, the error might be generic in the network log as shown below: “There was an error processing your request. Please contact support.” In this case, if there is no reason given in the logs, then it might be a form save request timeout issue. However, this will occur in rare tenants, as only for tenants which have large forms with 1000s of fields and more than 200 rules, only then timeout issue occurs.
NOTE: If the above steps give the reason, however the same on troubleshooting doesn’t helps, then reach out to Forms team.
