Print this page

Enable API to use REST API for mobile

Knowledge Article Number 000181813
Description Scenario-
1) User has group edition and REST API enabled.


2) When he accesses any of the CRM objects like accounts, contacts or opptys on mobile, he gets following error-
$1 = 0x0c823fe0 Error Domain=AFNetworkingErrorDomain Code=-1011 "Expected status code in (200-299), got 403" UserInfo=0xc8baba0 {NSLocalizedRecoverySuggestion=[{"message":"API is not enabled for this Organization or Partner","errorCode":"API_DISABLED_FOR_ORG"}], AFNetworkingOperationFailingURLRequestErrorKey=<NSMutableURLRequest https:/na2.salesforce.com/services/data/v27.0/query?q=SELECT%20name%2C%20id%2C%20AccountId%2C%20OwnerId%20FROM%20Opportunity>, NSErrorFailingURLKey=https:/na2.salesforce.com/services/data/v27.0/query?q=SELECT%20name%2C%20id%2C%20AccountId%2C%20OwnerId%20FROM%20Opportunity, NSLocalizedDescription=Expected status code in (200-299), got 403, AFNetworkingOperationFailingURLResponseErrorKey=<NSHTTPURLResponse: 0xc86f770>}

3) Above error indicates that he needs API access which isn't allowed for Group edition.

Question-
1) We give REST API access for mobile to Group edition but then user runs into API access error which cannot be given.
Then what's the purpose of giving REST API access if he cannot access the CRM app on mobile?
2) What am I missing?
 
Resolution REST API for non-API enabled edition orgs can be accessed only if the Org has a certified app exchange package installed.
There's no free REST access for group editions.


Here is an idea to allow mobile for group edition- 
https://success.salesforce.com/ideaView?id=08730000000BpWNAA0 

In common with all the Force.com APIs, the REST API is available in Developer, Enterprise and Unlimited Sales Cloud editions only (plus the Force.com editions).
http://www.salesforce.com/crm/editions-pricing.jsp"




promote demote