You need to sign in to do that
Don't have an account?
mahesh p 12
Salesforce Twitter - Non-200 response code during CRC GET request (i.e. 404, 500, etc)
I have created a Apex Rest Service and enabled the Respective Apex Class under Public Access settings of a Remote site.When i hit this API of twitter with OAuth1 Authorisation
https://api.twitter.com/1.1/account_activity/all/:ENV_NAME/webhooks.json?url=https://{Salesforce_Domain}.com/services/apexrest/{urlMapping}
I am getting the below Error Response
"Non-200 response code during CRC GET request (i.e. 404, 500, etc)"
and i m getting this error while using apex REST services
"METHOD_NOT_ALLOWED errorCode: METHOD_NOT_ALLOWED message: HTTP Method 'POST' not allowed. Allowed are HEAD,GET".
Please help me in registering web hook between twitter and salesforce.
https://api.twitter.com/1.1/account_activity/all/:ENV_NAME/webhooks.json?url=https://{Salesforce_Domain}.com/services/apexrest/{urlMapping}
I am getting the below Error Response
"Non-200 response code during CRC GET request (i.e. 404, 500, etc)"
and i m getting this error while using apex REST services
"METHOD_NOT_ALLOWED errorCode: METHOD_NOT_ALLOWED message: HTTP Method 'POST' not allowed. Allowed are HEAD,GET".
Please help me in registering web hook between twitter and salesforce.
Have you tried calling you Rest service in Workbench? If not then please do. Use this URL
https://yourDomain.com/services/apexrest/SFTwitter
Let me know the results so we can proceed to the next step.
Thanks
Ayush
<Error>
<errorCode>METHOD_NOT_ALLOWED</errorCode>
<message>HTTP Method 'GET' not allowed. Allowed are POST</message>
</Error>
</Errors>
when i hit it in post man it gives me EncodingUtil.base64Encode(data).
What to do futher.