+ Start a Discussion
Anuja Kumar PradhanAnuja Kumar Pradhan 

The chatter api to run a query does not work.

The chatter api to run a query for Ex "https://na1.salesforce.com/services/data/v20.0/query/?q=SELECT+name+from+Account" does not work now. It was working 7 days before.
Can someone help me why this does not work now...is there any version change recently?

Sonam_SFDCSonam_SFDC
Anuja,

I checked the doc and the format is the following: 

curl https://na1.salesforce.com/services/data/v20.0/query/?q=SELECT+name+from+Account -H "Authorization: Bearer token"
http://www.salesforce.com/us/developer/docs/api_rest/index_Left.htm#CSHID=dome_query.htm|StartTopic=Content%2Fdome_query.htm|SkinName=webhelp

Did you try changing the API version?
Anuja Kumar PradhanAnuja Kumar Pradhan
Sonam, i was calling the query api exactly in the same way given in your url and had not any authorization issue. In fact it was working till last week ande was getting the response data appropriately. starting from this week this does not work and getting error "[{"errorCode":"NOT_FOUND","message":"The requested resource does not exist"}]".

Kindly let me is there any change in the query format from Chatter or any version change like v20.0 to some other version?
Anuja Kumar PradhanAnuja Kumar Pradhan
Can I get a update on this...?