# Cannot create webhook \[Solved\]

**URL:** <https://community.particle.io/t/cannot-create-webhook-solved/18610>\
**Category:** Troubleshooting\
**Created:** [December 28, 2015, 11:15pm UTC](https://community.particle.io/t/cannot-create-webhook-solved/18610 "2015-12-28T23:15:43Z")\
**Posts on this page:** 2\
**Page:** 1

<div class="post-metadata">

**Author:** ![clarity](https://avatars.discourse-cdn.com/v4/letter/c/aeb1de/32.png) [@clarity](https://community.particle.io/u/clarity)\
**Post date:** [December 28, 2015, 11:15pm UTC](https://community.particle.io/t/cannot-create-webhook-solved/18610/1 "2015-12-28T23:15:43Z")

</div>

Hi,

I am trying to create a simple webhook but with no success.  
Here is the json file:

```
{
    "event": "rob/tempsrednja",
    "url": "http://oip.robertivanc.com/api/event",
    "requestType": "POST",
	"noDefaults": true,
    "json": {
        "name": "tempsrednja",
		"value": "{{SPARK_EVENT_VALUE}}"
    },
    "mydevices": true
}

```

And here is the output of cli:

```
C:\svn\ReberHisa\reber>particle webhook create rebertemp.json
Using settings from the file rebertemp.json
Sending webhook request { uri: 'https://api.particle.io/v1/webhooks',
  method: 'POST',
  json:
   { event: 'rob/tempsrednja',
     url: 'http://oip.robertivanc.com/api/event',
     deviceid: undefined,
     requestType: 'POST',
     mydevices: true },
  headers: { Authorization: 'Bearer 3221cde31a9246a9513bab4247cc23f46eeaa41a' } }

```

However particle webhook list is empty, and also nothing gets posted to my endpoint.

How can I debug this?

---

<div class="post-metadata">

**Author:** ![clarity](https://avatars.discourse-cdn.com/v4/letter/c/aeb1de/32.png) [@clarity](https://community.particle.io/u/clarity)\
**Post date:** [December 28, 2015, 11:26pm UTC](https://community.particle.io/t/cannot-create-webhook-solved/18610/2 "2015-12-28T23:26:58Z")

</div>

nevermind, I’ve updated particle cli to 1.8.22 and now it seems to work.
