# Wt-init is not working , on trying to authenticate shows invalid credentials error

**URL:** <https://community.auth0.com/t/wt-init-is-not-working-on-trying-to-authenticate-shows-invalid-credentials-error/48007>\
**Category:** Get Help\
**Tags:** webtask\
**Created:** [August 14, 2020, 4:04am UTC](https://community.auth0.com/t/wt-init-is-not-working-on-trying-to-authenticate-shows-invalid-credentials-error/48007 "2020-08-14T04:04:57Z")\
**Posts on this page:** 3\
**Page:** 1

<div class="post-metadata">

**Author:** ![Tulsani](https://sea1.discourse-cdn.com/auth0/user_avatar/community.auth0.com/tulsani/32/23173_2.png) [@Tulsani](https://community.auth0.com/u/Tulsani)\
**Post date:** [August 14, 2020, 4:04am UTC](https://community.auth0.com/t/wt-init-is-not-working-on-trying-to-authenticate-shows-invalid-credentials-error/48007/1 "2020-08-14T04:04:57Z")

</div>

Hey,

I was trying to set up my webtask using `wt-init`.  
On doing the same the URL opens up in my browser but from any means that i try to authenticate from i get `Authentication failed: unauthorized.` in my browser and `Initialization failed due to invalid credentials.` in my cli.

How can use `wt-init` correctly?

---

<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:** [August 14, 2020, 1:22pm UTC](https://community.auth0.com/t/wt-init-is-not-working-on-trying-to-authenticate-shows-invalid-credentials-error/48007/2 "2020-08-14T13:22:56Z")

</div>

Hey there!

Can I ask you to record a HAR file of that flow so we can see what is happening behind the scenes of the browser? Then please share it with me via private message so I can inspect that. Thank you!

---

<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:** [September 11, 2020, 11:39am UTC](https://community.auth0.com/t/wt-init-is-not-working-on-trying-to-authenticate-shows-invalid-credentials-error/48007/4 "2020-09-11T11:39:08Z")

</div>


