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
Vacha ShahVacha Shah 

Use Rest API Unit : API Basics (Developer Intermediate)

I am not able to pass the challenge as it says could not find account with description "The finest grog in the seven seas."

However, when I Execute with a post method with the URI: 

/services/data/v37.0/sobjects/account

and result body as:

{
  "Name" : "Blackbeards Grog Emporium",
  "Description" : "The finest grog in the seven seas."
}

there is no error in this and it shows a returned id with zero errors.

However, the account doesnot get created.

Could anyone help me out with this?
Best Answer chosen by Vacha Shah
Amit Chaudhary 8Amit Chaudhary 8
Please check below post for same issue
1) https://developer.salesforce.com/forums/?id=906F0000000kCkSIAU

Try to execute same request two time and check your challange.

Let us know if this will help you
 

All Answers

Amit Chaudhary 8Amit Chaudhary 8
Please check below post for same issue
1) https://developer.salesforce.com/forums/?id=906F0000000kCkSIAU

Try to execute same request two time and check your challange.

Let us know if this will help you
 
This was selected as the best answer
Vacha ShahVacha Shah
Hi Amit,

Thank you so much for your help. It worked.

Thanks,
Vacha