question

Jensen Zhao avatar image
Jensen Zhao asked Phong Vu answered

Incoming Webhook not working

Hi all,

I created an Incoming Webhook URL for a Glip group, but it just can't pass the test.


Tried this command in the terminal, I'm using a MacBook.

curl -d '{"text": "sdfsd"}' -H 'Content-Type: application/json' my_webhook_url


It has an error message like the below:

{"status":"error","message":"Your request was accepted, however a post was not generated","error":"Invalid Custom payload: no supported fields","validation":[]}

webhook
1 |1500 characters needed characters left characters exceeded

Up to 8 attachments (including images) can be used with a maximum of 1.0 MiB each and 10.0 MiB total.

1 Answer

Phong Vu avatar image
Phong Vu answered

The new version of Glip webhook use the "body" instead of "text"

curl -d '{"body": "sdfsd"}' ...

1 |1500 characters needed characters left characters exceeded

Up to 8 attachments (including images) can be used with a maximum of 1.0 MiB each and 10.0 MiB total.

Developer sandbox tools

Using the RingCentral Phone for Desktop, you can dial or receive test calls, send and receive test SMS or Fax messages in your sandbox environment.

Download RingCentral Phone for Desktop:

Tip: switch to the "sandbox mode" before logging in the app:

  • On MacOS: press "fn + command + f2" keys
  • On Windows: press "Ctrl + F2" keys