I tried to connect Rocket to a google spreadsheet via Zapier, but when i try to turn on the zap i get this error: The app returned “[not_authorized]”.
I asked zapier support and i got an answer saying that other users have reported this as well and a bug report was raised with the Rocket Chat team.
Zapier sent the following error:
Credentials are censored and data may be formatted and/or truncated.
permalink: /messages/graylog_14697/e99a3522-0124-11eb-b0cb-126e493cdd71
timestamp: 2020-09-28T00:52:41.273Z
REQUEST
POST https://rocket.missip.tech/api/v1/integrations.create?access_token=:censored:40:afefad90ae:
User-Agent: Zapier
Accept-Encoding: gzip, deflate
Accept: application/json
Connection: keep-alive
Content-Type: application/json; charset=utf-8
Content-Length: 244
X-Datadog-Trace-Id: 14251109921628794436
X-Datadog-Parent-Id: 2861884094200754038
X-Datadog-Sampling-Priority: 1
{
“type”: “webhook-outgoing”,
“channel”: “#demandas_cpic”,
“name”: “Zap: A Zap”,
“enabled”: true,
“username”: “rocket.cat”,
“event”: “sendMessage”,
“urls”: [“https://zapier.com/hooks/standard/6179317/c8352f488bcd451f8b1650f84c483d05/”],
“scriptEnabled”: false
}
RESPONSE
400
Cache-Control: no-store
Content-Encoding: gzip
Content-Type: application/json
Date: Mon, 28 Sep 2020 00:52:41 GMT
Pragma: no-cache
Server: Caddy
Vary: Accept-Encoding
X-Content-Type-Options: nosniff
X-Frame-Options: sameorigin
X-Instance-Id: 5M34KmYs9vxET3YMo
X-Ratelimit-Limit: 10
X-Ratelimit-Remaining: 8
X-Ratelimit-Reset: 1601254420730
X-Xss-Protection: 1
Content-Length: 74
{
“success”: false,
“error”: “[not_authorized]”,
“errorType”: “not_authorized”
}