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
Sameer Aman 2Sameer Aman 2 

Integration with drupal, Api is not enabled on drupal side.

Hi,
I have developer account on salesforce. While integrating with drupal, i have done callback url, security and consumer key but i am get error like The website encountered an unexpected error. Please try again later.
Then I found the reports/dblog then i am getting the reason for error is API is not enabled for this organization.

I dont know how to solve this problem. I tried many things like checking api enabled or not in permission set and profiles.

NagendraNagendra (Salesforce Developers) 
Hi Sameer,

By default, the API Enabled permission is turned on in developer edition. Did you go to developer.salesforce.com and registered the developer edition?

You should see something like below for the API Enabled, I am posting both screenshots on Enhance Profile UI and regular profile UI. Hope this helps.
User-added image
User-added image
Please let us know still if you are facing the issue.

Thanks,
Nagendra