I'm playing around with SF's REST API, going through the tutorial. I've pulled down a valid access_token, and now I'm trying make this simple request below:
curl https://na17.salesforce.com/services/data/v31.0/ -H "Authorization: Bearer access_token" -H "X-PrettyPrint:1"
I get this error:
"message" : "API is not enabled for this Organization or Partner",
"errorCode" : "API_DISABLED_FOR_ORG"
I'm on a Developer Edition 30-day trial. Poking around, I read that I had to make sure the 'Enable API' permission was set for the user. I only have one user right now, the admin. I read that I had to create a permission set in order to enable the api permission. However, when I try to create a permission set, I get this error:
Insufficient Privileges
You do not have the level of access necessary to perform the operation you requested. Please contact the owner of the record or your administrator if access is necessary.
I don't really understand, considering the only user I have is an admin, and that's what I am logged in as while trying to create this permission set. I've been digging around for a while and am at a loss right now.
Any help would be much appreciated!
Thanks Jay