14 answers
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.