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
yelverton1yelverton1 

When testing new API in fully loaded Sandbox, getting this error message/ AccountWebhookTrigger: execution of AfterUpdate\n\ncaused by: ConnectApi.RateLimitException

Had our API Requests increased to 748K but still receive this error when testing new API in Sandbox. Unclear what to do next.

[2021-05-28 06:25:39] customer.DEBUG: GuzzleHttp\Exception\ClientException: Client error: `PATCH https://cs169.salesforce.com/services/data/v39.0/sobjects/Account/0018000001B5zbEAAR` resulted in a `400 Bad Request` response: [{"message":"AccountWebhookTrigger: execution of AfterUpdate\n\ncaused by: ConnectApi.RateLimitException:
 
VinayVinay (Salesforce Developers) 
Gernerally '400 Bad Request' happens when a required field is missing or when invalid input is passed.  The request you sent to the respective endpoints, couldn’t be understood. I would recommend you verify your request parameters and the input message body.

Also use API testing tool to hit the endpoint with required parameters.

Thanks,