I want to handle the following exception in java code.
{"message":"limits resource is not enabled","errorCode":"API_DISABLED_FOR_ORG"}
I am getting the above exception when access limits api.
I tried 30days trial account. By that i could get the below exception. Even i am not able to hit any api.
{"message":"The REST API is not enabled for this Organization.","errorCode":"API_DISABLED_FOR_ORG"}
How can I restrict the access of limits api in salesforce dev account?