Вопрос

I am trying to integrate saleforce with my project. While accessing the url "/chatter/feeds/files/me" i am getting the error "API_DISABLED_FOR_ORG:files API is not enabled 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.........

Это было полезно?

Решение

In the restclient URL try using v24.0,which is the latest salesforce API version.

Другие советы

I also tried this and got the same problem. You may be having authorization problems. Try checking your auth tockens once again

Лицензировано под: CC-BY-SA с атрибуция
Не связан с StackOverflow
scroll top