Skip to main content
14 answers
  1. Oct 16, 2023, 6:21 PM

    Thanks @Vishwa Deepak Shukla

    The instructions said "The method must also accept an empty string, catch the failed DML and then return null" so I wrote my signature as below:

    public static Account insertNewAccount(String accountName, String emptyString) {

    My code passed after I removed the second parameter as shown in your code.

0/9000