You need to sign in to do that
Don't have an account?
Bulent703
API Access Disabled for Communities
Hi,
I started experimenting with the new Summer 13 communities and saw that if I use the Flex toolkit I get the "API Access Disabled for Communites" error. Is there a way to enable API access?
Thanks!
Hello,
Yes, this permission has to be enable on this Org for API access. For this a log a case with support stating "enable "API enable" permission on this community".
I got the same message when I try to call DML in ajax.
I'm afraid you can only use APEX to do this.
See:
http://boards.developerforce.com/t5/Force-com-Sites-Site-com/API-currently-Disabled-Error-Sites-Development/td-p/128239
I got the answer from Salesforce support.
It looks like the communities pages actually deliver the server URL as a community URL. This is the problem. Instead, you need to use the https://packagename.naX.salesforce.com/... URL instead of what the API.Parner_Server_URL gives you back.
I don't believe this should be the correct behavior but the support said that this is working as designed.
Here is another post on this:
http://boards.developerforce.com/t5/Visualforce-Development/Api-Partner-Server-URL-returning-different-URL/td-p/349303