2

I am debugging an issue with calling salesforce API and I need to know what is the http response status code for :

"message":"The REST API is not enabled for this Organization.","errorCode":"API_DISABLED_FOR_ORG"

500, 405 or what ? For some reasons I cannot try it myself, I have to ask here.

2

For API_DISABLED_FOR_ORG orgs Status code is

403

Complete Message:

[{"message":"The REST API is not enabled for this Organization.","errorCode":"API_DISABLED_FOR_ORG"}],"status":403,"statusText":"Forbidden"}

1
  • @KeithC You revealed the awesome code! :( – Ashwani Aug 20 '15 at 8:13

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Not the answer you're looking for? Browse other questions tagged or ask your own question.