Code2Life / nodess-apps

Published applications of node serverless framework (nodess - based on node-http-adapter)
7 stars 0 forks source link

runtime error: Request failed with status code 400, error stack: Error: Request failed with status code 400 #5

Open visla-xugeng opened 2 years ago

visla-xugeng commented 2 years ago

I applied http-adapter yaml file in my EKS cluster. http-adapter sent message to zoom webhook, but got this 400 error

2022-03-30T22:16:31.268Z server:extract-stage afb77c0f-6357-4942-91ae-ecbd90a80719: finish request extraction
got 1 alerts, start processing.
2022-03-30T22:16:31.268Z server:relay-stage afb77c0f-6357-4942-91ae-ecbd90a80719: processing relay request (zoom-im) - POST https://inbots.zoom.us/incoming/hook/V8u5l2tYYYYXXXXXXK?format=full
2022-03-30T22:16:31.959Z server:runtime-ctx context(zoom-alert-2.0) runtime error: Request failed with status code 400, error stack: Error: Request failed with status code 400
    at e.exports (/opt/http-adapter-1.0.12.js:52:24364)
    at e.exports (/opt/http-adapter-1.0.12.js:63:34317)
    at IncomingMessage.<anonymous> (/opt/http-adapter-1.0.12.js:297:7096)
    at IncomingMessage.emit (events.js:194:15)
    at endReadableNT (_stream_readable.js:1125:12)
    at process._tickCallback (internal/process/next_tick.js:63:19)
2022-03-30T22:16:31.959Z server:director afb77c0f-6357-4942-91ae-ecbd90a80719: done in 691 ms

  Error: Request failed with status code 400
      at e.exports (/opt/http-adapter-1.0.12.js:52:24364)
      at e.exports (/opt/http-adapter-1.0.12.js:63:34317)
      at IncomingMessage.<anonymous> (/opt/http-adapter-1.0.12.js:297:7096)
      at IncomingMessage.emit (events.js:194:15)
      at endReadableNT (_stream_readable.js:1125:12)
      at process._tickCallback (internal/process/next_tick.js:63:19)
2022-03-30T22:16:31.959761811Z