function readOnly(count){ }
Starting November 20, the site will be set to read-only. On December 4, 2023,
forum discussions will move to the Trailblazer Community.
+ Start a Discussion
Janek HoltschneiderJanek Holtschneider 

Account and orders webhook not set

Class Name - AccountWebhookWebhookTriggerTest

Error Message - 

System.DmlException: Insert failed. First exception on row 0; first error: REQUIRED_FIELD_MISSING, Required fields are missing: [Name]: [Name]
Stack Trace: Class.AccountWebhookWebhookTriggerTest.testTrigger: line 65, column 1

Janek HoltschneiderJanek Holtschneider
User-added image
AbhishekAbhishek (Salesforce Developers) 

Can you check the below blogs might answer your query,

While creating the Account in your trigger you are not assigning Name which is a required field.