[SalesForce] Developer Edition: The REST API is not enabled for this Organization

I created a developer account here

Followed Creating a Connected App on https://trailhead.salesforce.com/modules/mobile_sdk_native_android/units/mobilesdk_android_getting_started

Cross checked if API is enabled from System Administrator Profile

enter image description here

Connected APP Settings:

enter image description here

Now from the Trailhead app I login with Email and Password of a Trial account(Professional Edition) I created on Salesforce Dev. It logs in fine but the API calls like Fetch Contacts/Accounts throw:

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

However those APIs work with a Username and Password.

Questions:

  1. If I create a Developer account, add a connected app and integrate Salesforce into my Android app will any other User with a Salesforce account(non-developer) be able to login and access the API? Like in the Salesforce1 Android App
    1. Username exists only for Developer accounts?

Best Answer

API access for professional edition will disabled by default and you will need to contact salesforce to get it enabled .

To request API contact via your partner org

https://developer.salesforce.com/docs/atlas.en-us.packagingGuide.meta/packagingGuide/dev_packages_api_access.htm

https://developer.salesforce.com/docs/atlas.en-us.packagingGuide.meta/packagingGuide/appexchange_faq_request_api_token.htm

You should fine using a developer org .Sign up with a developer org and you can access REST and SOAP API's

Related Topic