How do I enable api files in a Salesforce integration project?

I am trying to integrate salesforce with my project. When accessing the URL "/ chatter / feeds / files / me" I get the error "API_DISABLED_FOR_ORG: API files are not included for this organization or user."

RestResponse getResponse=restClient.sendSync(RestMethod.GET, "/services/data/v23.0/chatter/feeds/files/me, null); 
System.out.prinln(getResponse.toString()); // here i am getting the response as "API_DISABLED_FOR_ORG:files API is not enabled for this Organization or user".. "

      

Please, help.........

+3


source to share


2 answers


In the restclient url, try using v24.0 which is the latest version of the Salesforce API.



+3


source


I also tried this and got the same problem. You may have problems with authorization. Try checking your authents again



0


source







All Articles