# Error after publication

**URL:** <https://community.weweb.io/t/error-after-publication/9923>\
**Category:** Ask us anything\
**Tags:** authentication, supabase\
**Created:** [July 25, 2024, 2:31am UTC](https://community.weweb.io/t/error-after-publication/9923 "2024-07-25T02:31:45Z")\
**Posts on this page:** 3\
**Page:** 1

<div class="post-metadata">

**Author:** ![xoveryoux](https://sea2.discourse-cdn.com/flex016/user_avatar/community.weweb.io/xoveryoux/32/9250_2.png) [@xoveryoux](https://community.weweb.io/u/xoveryoux)\
**Post date:** [July 25, 2024, 2:31am UTC](https://community.weweb.io/t/error-after-publication/9923/1 "2024-07-25T02:31:45Z")

</div>

I recorded a video that highlights my problem with logging in to a production version.

https://www.loom.com/embed/ae8b281aff56456db45df192858b7549?sid=807ca3cb-4411-4f9b-b6c6-e77b8169e306

I published my application. In development everything works fine, but as soon as I published it on my domain the login stopped working in production. I recorded a video that portrays the problem.

It’s my first publication with weweb, I don’t know if I’m making something wrong.

In console log, the error is:

chunk-vendors.b7d49dbe.js:1  
POST [https://hnslsrvpmgebpvlphuqq.supabase.co/auth/v1/token?grant\_type=password](https://hnslsrvpmgebpvlphuqq.supabase.co/auth/v1/token?grant_type=password) 400 (Bad Request)  
index.29c1e186.js:1  
Error: Invalid login credentials  
at Object.signInEmail (index.29c1e186.js:1:150231)  
at async Ie (index.29c1e186.js:1:71674)  
at async Se (index.29c1e186.js:1:57232)  
at async Ce (index.29c1e186.js:1:56047)  
Caused by: AuthApiError: Invalid login credentials  
at jt (chunk-vendors.b7d49dbe.js:1:54900)  
at async Ht (chunk-vendors.b7d49dbe.js:1:56047)  
at async Dt (chunk-vendors.b7d49dbe.js:1:55649)  
at async en.signInWithPassword (chunk-vendors.b7d49dbe.js:1:69144)  
at async Object.signInEmail (index.29c1e186.js:1:150148)  
at async Ie (index.29c1e186.js:1:71674)  
at async Se (index.29c1e186.js:1:57232)  
at async Ce (index.29c1e186.js:1:56047)  
index.29c1e186.js:1  
Error: Invalid login credentials  
at Object.signInEmail (index.29c1e186.js:1:150231)  
at async Ie (index.29c1e186.js:1:71674)  
at async Se (index.29c1e186.js:1:57232)  
at async Ce (index.29c1e186.js:1:56047)  
Caused by: AuthApiError: Invalid login credentials  
at jt (chunk-vendors.b7d49dbe.js:1:54900)  
at async Ht (chunk-vendors.b7d49dbe.js:1:56047)  
at async Dt (chunk-vendors.b7d49dbe.js:1:55649)  
at async en.signInWithPassword (chunk-vendors.b7d49dbe.js:1:69144)  
at async Object.signInEmail (index.29c1e186.js:1:150148)  
at async Ie (index.29c1e186.js:1:71674)  
at async Se (index.29c1e186.js:1:57232)  
at async Ce (index.29c1e186.js:1:56047)  
index.29c1e186.js:1 Unable to update variable (ece09e11-d966-4bb2-a0ab-5465ecd9c836) : variable not found - got :

---

<div class="post-metadata">

**Author:** ![Broberto](https://sea2.discourse-cdn.com/flex016/user_avatar/community.weweb.io/broberto/32/5918_2.png) [@Broberto](https://community.weweb.io/u/Broberto)\
**Post date:** [July 25, 2024, 6:07am UTC](https://community.weweb.io/t/error-after-publication/9923/2 "2024-07-25T06:07:06Z")

</div>

Hello, this error means that you’re using a wrong e-mail/password combination (wrong credentials). The editor saved passwords aren’t the same as the staging (published) ones, because it’s different domains.

---

<div class="post-metadata">

**Author:** ![xoveryoux](https://sea2.discourse-cdn.com/flex016/user_avatar/community.weweb.io/xoveryoux/32/9250_2.png) [@xoveryoux](https://community.weweb.io/u/xoveryoux)\
**Post date:** [July 25, 2024, 9:28am UTC](https://community.weweb.io/t/error-after-publication/9923/3 "2024-07-25T09:28:23Z")

</div>

I feel stupid for this lack of attention! 😉

You are sure!! I didn’t realize that the logins saved in the published version were from users of the old system, not the web.

Thank you very much!
