You need to sign in to do that
Don't have an account?
Andrew Jenkins 14
Composite REST API not found? 404
On my developer edition I am able to use the /services/data/v38.0/composite composite API. I seriously LOVE this API, it cuts down on network time and makes life easy.
There is problem however, recently I was trying to integrate with a new customer and to my surprise the composite REST endpoint was 404 not found. The response from SFDC was:
[ { "errorCode": "NOT_FOUND", "message": "The requested resource does not exist" } ]Other REST requests on this domain with the same authentication work great... I thought that the composite API was Generally Available. Any ideas? Thanks in advance for the help.
Were you able to solve this? I am facing the same issue so asking. Best Regards
The resolution was to not use the composite API. Even though SFDC claims that it is Generally Available, it is not actually available on several of the Salesforce instances I have worked with.
https://developer.salesforce.com/docs/atlas.en-us.api_rest.meta/api_rest/resources_composite.htm
../services/data/v42.0/composite/sobjects
{
"allOrNone" : false,
"records" : [{
"attributes" : {"type" : "Account"},
"Name" : "example.com",
"BillingCity" : "San Francisco"
},{
"attributes" : {"type" : "Account"},
"Name" : "example2.com",
"BillingCity" : "San Francisco"
}]
}
work on 42 and not on 38
if this is help you ;)