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) 
Hi,

Can you check the below blogs might answer your query,

https://salesforce.stackexchange.com/questions/32769/system-dmlexception-insert-failed-first-exception-on-row-0-first-error-requi

https://developer.salesforce.com/forums/?id=906F00000009Fr3IAE

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