Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Incomming webhooks test failed due to invalid json error #6558

Closed
iamstevetran-zz opened this issue Apr 1, 2017 · 0 comments · Fixed by #6620
Closed

Incomming webhooks test failed due to invalid json error #6558

iamstevetran-zz opened this issue Apr 1, 2017 · 0 comments · Fixed by #6620

Comments

@iamstevetran-zz
Copy link

iamstevetran-zz commented Apr 1, 2017

Rocket.Chat Version: 0.54.2
Running Instances: Docker

Reproduce steps:

Actual result:

  • Message returned: Bad request
  • Docker logs:
Error: invalid json
  at parse (/app/bundle/programs/server/npm/node_modules/meteor/simple_json-routes/node_modules/connect/node_modules/body-parser/lib/types/json.js:83:15)
  at /app/bundle/programs/server/npm/node_modules/meteor/simple_json-routes/node_modules/connect/node_modules/body-parser/lib/read.js:108:18
  at invokeCallback (/app/bundle/programs/server/npm/node_modules/meteor/simple_json-routes/node_modules/connect/node_modules/body-parser/node_modules/raw-body/index.js:262:16)
  at done (/app/bundle/programs/server/npm/node_modules/meteor/simple_json-routes/node_modules/connect/node_modules/body-parser/node_modules/raw-body/index.js:251:7)
  at IncomingMessage.onEnd (/app/bundle/programs/server/npm/node_modules/meteor/simple_json-routes/node_modules/connect/node_modules/body-parser/node_modules/raw-body/index.js:308:7)
  at emitNone (events.js:67:13)
  at IncomingMessage.emit (events.js:166:7)
  at endReadableNT (_stream_readable.js:923:12)
  at nextTickCallbackWith2Args (node.js:511:9)
  at process._tickDomainCallback (node.js:466:17)
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging a pull request may close this issue.

4 participants