Scenario : Mule 4 and Salesforce Integration.
- Created a developer account in Salesforce.
- Created a Custom Object in Salesforce for loading data via Mulesoft.
- In mule 4 using a Salesforce Query component and providing the SF username, password and security token and did a 'TEST CONNECTION'.
Problem : Getting the Error :
org.mule.runtime.api.connection.ConnectionException: org.mule.runtime.api.connection.ConnectionException: API is not enabled for this Organization or Partner
org.mule.runtime.api.connection.ConnectionException: org.mule.runtime.api.connection.ConnectionException: API is not enabled for this Organization or Partner
Caused by: org.mule.runtime.api.connection.ConnectionException: API is not enabled for this Organization or Partner
Caused by: org.mule.runtime.api.connection.ConnectionException: API is not enabled for this Organization or Partner
Caused by: [UnexpectedErrorFault [ApiFault exceptionCode='API_DISABLED_FOR_ORG'
exceptionMessage='API is not enabled for this Organization or Partner'
extendedErrorDetails='{[0]}'
]
]
When I checked for solutions I found the following steps:
- Go to Setup->Manage Users -> Profiles-> System Administrator-> Edit Profile.
- But in Administer Preferences I do not see the enable API option.
But when I check under Administration Settings, I do not see an option to enable the API.
Please help.
Thanks in advance.