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
rmehtarmehta 

Rest API Not Enabled

 

Hello,

 

I signed up for a rest developer preview org. When I am making a REST call I get the following exception -

 

[{"message":"The REST API is currently in pilot, and is not enabled for your organization.","errorCode":"API_DISABLED_FOR_ORG"}]

 

Can someone enable the org if it is not REST enabled. Org Id - 00DC0000000PYNv

 

Thanks

Rohit

alextalext

Your Org has been enabled.

 

--alex

Abhishek SinghAbhishek Singh

Hello,

 

 

How will we be able to know that Rest API has been Enabled.

Can someone enable the org if it is not REST enabled. Org Id :- 00D90000000If9gEAC 

 

 

Thanks.

Abhishek Singh

gwestrgwestr

Hit the main endpoint while authenticated.  If you do not have access, the server will reply and tell you.

 

curl -v https://{instance}.salesforce.com/services/data/v20.0 -H "Authorization: OAuth {sid}"