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
crazyivancrazyivan 

Async API not enabled

I'm attempting to upload data into my Sandbox instance using the Bulk API. This works with Test Orgs that I've configured and used for some time. However, I just spun up a new Sandbox and I now get this response when attempting to upload data via the Bulk API:

 

{"exceptionCode"=>["FeatureNotEnabled"],
"exceptionMessage"=>["Async API not enabled"],
"xmlns"=>"http://www.force.com/2009/06/asyncapi/dataload"}

 

What do I need to do to enable the Bulk API in my Sandbox? 

JonathanBaltzJonathanBaltz

Two questions:

1. What tool are you using, if any, to load your data into the test org? 

2.  I apologize for needing to ask this, but is the user you are using to load the data into the test org in the System Admin profile?

crazyivancrazyivan
I've written my own Ruby-based application that consumes the Bulk API directly. (as I mentioned, the application is able to upload data via the Bulk API in the case of Test Orgs)

The user is present in the System Admin profile.

One thing I notice is that in the Setup | Monitoring tree there's no link to "Bulk Data Load Jobs", as there is in my Test Org. This would lead me to believe somehow the Sandbox just isn't configured with the Bulk API...
Satish_SFDCSatish_SFDC
You might have to contact Salesforce Support to enable Asynchronous API .
The REST API can also be enabled by contacting salesforce support.

Hope this helps.
Regards,
Satish Kumar
Please mark my answer as a solution if it was helpful so it is available to others as a proper solution.
If you felt I went above and beyond, please give me Kudos by clicking on the star icon.