• mountaindewx
  • NEWBIE
  • 0 Points
  • Member since 2014

  • Chatter
    Feed
  • 0
    Best Answers
  • 0
    Likes Received
  • 0
    Likes Given
  • 2
    Questions
  • 5
    Replies
1) What status code and errorCode (i.e. LIMIT_HIT) can I watch for in my code to stop pinging Salesforce? How can I get the expiration as well so I know when I can start pinging Salesforce again?

2) Is the /limits endpoint still in pilot mode? If so, how else can I programmatically discover the API limits for the authorized organization?

The "Status Codes and Error Responses" section (http://www.salesforce.com/us/developer/docs/api_rest/index_Left.htm#StartTopic=Content/errorcodes.htm) of the documentation makes no reference to a LIMITS error code.

Question previously referenced, and gone un-answered, here: https://developer.salesforce.com/forums/?id=906F0000000AfuuIAC
The REST API documentation references a /limits endpoint (http://www.salesforce.com/us/developer/docs/api_rest/index_Left.htm#StartTopic=Content/resources_limits.htm) to discover the limits for the authorized organization. However, the docs say that it is still in PILOT mode and only available for developers.

The "Status Codes and Error Responses" section (http://www.salesforce.com/us/developer/docs/api_rest/index_Left.htm#StartTopic=Content/errorcodes.htm) of the documentation makes no reference to a LIMITS error code.

1) Is the /limits endpoint still in pilot mode? If so, how else can I programmatically discover the API limits for the authorized organization? 
2) What status code and errorCode (i.e. LIMIT_HIT) can I watch for in my code to stop pinging Salesforce? How can I get the expiration as well so I know when I can start pinging Salesforce again?
The REST API documentation references a /limits endpoint (http://www.salesforce.com/us/developer/docs/api_rest/index_Left.htm#StartTopic=Content/resources_limits.htm) to discover the limits for the authorized organization. However, the docs say that it is still in PILOT mode and only available for developers.

The "Status Codes and Error Responses" section (http://www.salesforce.com/us/developer/docs/api_rest/index_Left.htm#StartTopic=Content/errorcodes.htm) of the documentation makes no reference to a LIMITS error code.

1) Is the /limits endpoint still in pilot mode? If so, how else can I programmatically discover the API limits for the authorized organization? 
2) What status code and errorCode (i.e. LIMIT_HIT) can I watch for in my code to stop pinging Salesforce? How can I get the expiration as well so I know when I can start pinging Salesforce again?