# Github extension adding hook fails deployment with 403

**URL:** <https://community.auth0.com/t/github-extension-adding-hook-fails-deployment-with-403/46008>\
**Category:** Get Help\
**Tags:** extensions\
**Created:** [July 9, 2020, 5:28am UTC](https://community.auth0.com/t/github-extension-adding-hook-fails-deployment-with-403/46008 "2020-07-09T05:28:35Z")\
**Posts on this page:** 7\
**Page:** 1

<div class="post-metadata">

**Author:** ![ben.dyer](https://sea1.discourse-cdn.com/auth0/user_avatar/community.auth0.com/ben.dyer/32/13342_2.png) [@ben.dyer](https://community.auth0.com/u/ben.dyer)\
**Post date:** [July 9, 2020, 5:28am UTC](https://community.auth0.com/t/github-extension-adding-hook-fails-deployment-with-403/46008/1 "2020-07-09T05:28:35Z")

</div>

When deploying with the Github Extension 3.4 I’m getting this error

```auto
Problem creating hooks {"name":"send-initial-password-reset","triggerId":"post-change-password"}
APIError: {"statusCode":403,"error":"Forbidden","message":"Insufficient scope, expected any of: create:hooks","errorCode":"insufficient_scope"}

```

when trying to add a new hook in hooks/ folder. (This is the first hook in the gh repo).

But it looks like create:hooks is in the scopes in latest version, e.g. here [auth0-deploy-extensions/webtask-templates/github.json at master · auth0-extensions/auth0-deploy-extensions · GitHub](https://github.com/auth0-extensions/auth0-deploy-extensions/blob/master/webtask-templates/github.json#L19)

---

<div class="post-metadata">

**Author:** ![konrad.sopala](https://sea1.discourse-cdn.com/auth0/user_avatar/community.auth0.com/konrad.sopala/32/13516_2.png) [@konrad.sopala](https://community.auth0.com/u/konrad.sopala)\
**Post date:** [July 9, 2020, 9:35am UTC](https://community.auth0.com/t/github-extension-adding-hook-fails-deployment-with-403/46008/2 "2020-07-09T09:35:13Z")

</div>

Hey there Ben!

Can I ask you to raise it as a GitHub issue in that repo so we can work directly on it with the repo maintainers? Thanks! Once you have it please share the link to the issue here with us so we can ping them.

---

<div class="post-metadata">

**Author:** ![ben.dyer](https://sea1.discourse-cdn.com/auth0/user_avatar/community.auth0.com/ben.dyer/32/13342_2.png) [@ben.dyer](https://community.auth0.com/u/ben.dyer)\
**Post date:** [July 9, 2020, 12:43pm UTC](https://community.auth0.com/t/github-extension-adding-hook-fails-deployment-with-403/46008/3 "2020-07-09T12:43:09Z")

</div>

Sure, done here [HTTP 403 when adding hooks · Issue #100 · auth0-extensions/auth0-source-control-extension-tools · GitHub](https://github.com/auth0-extensions/auth0-source-control-extension-tools/issues/100)

---

<div class="post-metadata">

**Author:** ![konrad.sopala](https://sea1.discourse-cdn.com/auth0/user_avatar/community.auth0.com/konrad.sopala/32/13516_2.png) [@konrad.sopala](https://community.auth0.com/u/konrad.sopala)\
**Post date:** [July 9, 2020, 12:50pm UTC](https://community.auth0.com/t/github-extension-adding-hook-fails-deployment-with-403/46008/4 "2020-07-09T12:50:46Z")

</div>

Perfect! Thanks a lot!

---

<div class="post-metadata">

**Author:** ![ben.dyer](https://sea1.discourse-cdn.com/auth0/user_avatar/community.auth0.com/ben.dyer/32/13342_2.png) [@ben.dyer](https://community.auth0.com/u/ben.dyer)\
**Post date:** [July 10, 2020, 12:17am UTC](https://community.auth0.com/t/github-extension-adding-hook-fails-deployment-with-403/46008/5 "2020-07-10T00:17:38Z")

</div>

“Update to 3.5” button appeared this morning, going to give that a shot soon

---

<div class="post-metadata">

**Author:** ![konrad.sopala](https://sea1.discourse-cdn.com/auth0/user_avatar/community.auth0.com/konrad.sopala/32/13516_2.png) [@konrad.sopala](https://community.auth0.com/u/konrad.sopala)\
**Post date:** [July 10, 2020, 7:06am UTC](https://community.auth0.com/t/github-extension-adding-hook-fails-deployment-with-403/46008/6 "2020-07-10T07:06:58Z")

</div>

Perfect! Let us know once you test it!

---

<div class="post-metadata">

**Author:** ![system](https://global.discourse-cdn.com/auth0/original/3X/b/5/b560f266932fcce5d57f09a6595bd50518cae3f3.jpeg) [@system](https://community.auth0.com/u/system)\
**Post date:** [July 25, 2020, 7:07am UTC](https://community.auth0.com/t/github-extension-adding-hook-fails-deployment-with-403/46008/8 "2020-07-25T07:07:03Z")

</div>

This topic was automatically closed 15 days after the last reply. New replies are no longer allowed.
