You need to sign in to do that
Don't have an account?
Andrea Bianco
API: error trying using it
Hello!
I'm starting reading documentation and I want use the JSforce (a JavaScript library).
I'm using the trial for Enterprice Edition
For using the API I read that I have to create a new Connected App with OAuth enable and I have the security token.
When I trying to make a simple query, the system answers with this error:
{ [API_DISABLED_FOR_ORG: The REST API is not enabled for this Organization.]
name: 'API_DISABLED_FOR_ORG',
errorCode: 'API_DISABLED_FOR_ORG' }
How can be possible? API are not enabled in trial version?
I'm starting reading documentation and I want use the JSforce (a JavaScript library).
I'm using the trial for Enterprice Edition
For using the API I read that I have to create a new Connected App with OAuth enable and I have the security token.
When I trying to make a simple query, the system answers with this error:
{ [API_DISABLED_FOR_ORG: The REST API is not enabled for this Organization.]
name: 'API_DISABLED_FOR_ORG',
errorCode: 'API_DISABLED_FOR_ORG' }
How can be possible? API are not enabled in trial version?
JayOlay
Hi Andrea -- Please ensure you are indeed on an Enterprise Edition (APIs are not enabled for orgs below this level), and that you have the "API Enabled" permission checked: http://www.salesforce.com/us/developer/docs/api/Content/sforce_api_concepts_security.htm
Andrea Bianco
Hi! Thanks for your answer, but how can I verify that API are enabled? There is an option in the settings?
JayOlay
Hi Andrea -- It's a permission in the Setup > Profiles > Admin Permissions.