tiledesk-server icon indicating copy to clipboard operation
tiledesk-server copied to clipboard

Subscriptions fails

Open alangarbo opened this issue 5 years ago • 2 comments

Hi, I have a Tiledesk instance installed in my server. I 'am trying to use WebHooks suscription But I have an error

I try this commnad

curl -v -X POST -H 'Content-Type:application/json'
-u myUser:myPass
-d '{"event":"message.create", "target":"https://XXXXX.requestcatcher.com"}'
https://myurl/5edfb2ccae383c0019b4927b/subscriptions

The error was:

Error
Cannot POST /5edfb2ccae383c0019b4927b/subscriptions

Please, someone can help me? Thanks

alangarbo avatar Jun 18 '20 21:06 alangarbo

What is the version of your tiledesk-server? What is the http status error code? 404 or 500 ?

andrealeo83 avatar Jun 19 '20 05:06 andrealeo83

This is the response

HTTP/1.1 404 Not Found X-Powered-By: Express Access-Control-Allow-Origin: * Access-Control-Allow-Headers: Origin, X-Requested-With, Content-Type, Accept, Authorization, X-XSRF-Token Access-Control-Allow-Methods: GET, POST, PUT, DELETE, OPTIONS Content-Security-Policy: default-src 'none' X-Content-Type-Options: nosniff Content-Type: text/html; charset=utf-8 Content-Length: 176 Date: Fri, 19 Jun 2020 21:33:55 GMT

alangarbo avatar Jun 19 '20 21:06 alangarbo