You need to sign in to do that
Don't have an account?

Salesforce Sandbox Developer Edition REST API access
Hi All,
I signed up for the developer trial edition.
I created a developer sandbox instance.
I've read from the docs that a developer account by default has REST API access. But when I try to make a query using the REST API i get the following error:
"message" : "The REST API is not enabled for this Organization.",
"errorCode" : "API_DISABLED_FOR_ORG"
what am i doing wrong?
I've created a connected app and login was also successful.
Any help would be greatly appriciated.
1. Developer edition org --> https://developer.salesforce.com/signup
2. Connecting Salesforce over REST from Jave --> follow the below link and Section Authenticating REST Users. This link is for .NET, same approach for Java
https://developer.salesforce.com/page/Consuming_Force.com_SOAP_and_REST_Web_Services_from_.NET_Applications
Please let me know if you need more information
Regards
Sudipta
All Answers
Just to double sure, please check API enable check box in "Manage User -> User -> System Administraiton -> Administrative Permission".
What Salesforce edition you are in? Professional Edition doesn't have API enable dy default. Please check again.
Regards
Sudipta
Hi Sudipa,
Thank u for ur prompt reply.
I just check and I'm on a professional edition. Sorry for the confusion. I thought I'd signed up for a developer edition. Any Idea how to get a free Developer edition Trial?
And, I have another small question, if we are using java to connect to the REST API of a sandbox, what are the steps?
The login URL would be test.salesforce.com?
1. You can sign up with free developer edition org which dont expire unless you dont do any activity onto it for atleast an year. Below is the link to create one.
https://developer.salesforce.com/signup
2. If you are using java to integrate with some other apps then you have first import the java libraries to the salesforce and then you can move with further integration.
This is for your kind reference.
https://developer.salesforce.com/page/Force.com_Database_for_Java_Developers
1. Developer edition org --> https://developer.salesforce.com/signup
2. Connecting Salesforce over REST from Jave --> follow the below link and Section Authenticating REST Users. This link is for .NET, same approach for Java
https://developer.salesforce.com/page/Consuming_Force.com_SOAP_and_REST_Web_Services_from_.NET_Applications
Please let me know if you need more information
Regards
Sudipta
Hi Sudipta and Anha,
Thank you guys so much for your guidance. I was able to login to a trial developer account and create two custom objects.
And query them through REST API calls
You can check the link for complete detailed explanation: https://newstechnologystuff.com/2020/05/27/test-salesforce-rest-api-using-postman/