Failed to create an opportunity & activity error

Failed to create an opportunity & activity error

Issue:

When trying to submit the form, the user is getting the error where opportunity is not getting created and activity on opportunity is not getting posted.

Error: 

"Contacts created successfully. Failed to create opportunity, failed to create 1 activity".



Resolution:

In case the user is getting above error , kindly check the below pointers for initial investigation:

1. Reproducible through user credentials. 
2. User has the permission to edit the opportunity fields present in the form.

If both cases are true then we can open the inspect element and go to the Network tab and when submitting the form , check the Save request : Response and we will get the Reason for failure.


In case the error is "Duplicate field Name : Owner is not allowed", kindly check if there's a sub-form integrated with the primary form which contains the owner field.

Please note that the opportunity owner field should only exist in either primary form or the sub-form integrated. If it's present in both the forms then it will throw the above error.
    • Related Articles

    • Opportunity import error | Updation | Import restrcition

      Issue reported: When trying to update opportunities using the opportunity import function, the following error is displayed in the import report as shown below. Import parameter to be noted - Overwrite duplicates. Error message - "Creation of new ...
    • Issue while updating opportunity through Opportunity Import

      Issue: The customer faces an issue during the import process when selecting "Overwrite duplicate" to update opportunities. An error message, stating "Creation of new opportunity is restricted," appears, even though they are not attempting to create ...
    • Activity export Issue

      Q: Why am I unable to export notes for the Payment Activity? A: When exporting activities, notes are only exported for custom activities. For core activities like the Payment Activity, the notes column will not be included in the export. This is the ...
    • Task owner in opportunity page and in manage task page can be different

      Hi Team, There can be a possibility where the task owner in opportunity page and in manage task page can be different. Reason for this issue:- If the the user Name, Email and phone number everything will be changed for any user who is task owner, ...
    • Activity History does not display all the activity posted on the lead.

      Issue: The automation has been triggered for the lead and this automation is responsible for certain emails to trigger and it has been triggered successfully without any issue but these triggered email sent activity is not posted under the Activity ...