Hello, If I get a 500 error from auth service, whe...
# javascript
m
Hello, If I get a 500 error from auth service, where could I look into it to find what I've done wrong? I've checked the .env.local file and the keys are set correctly (error message : "500: Error sending confirmation mail")
Tested with a different set of keys, it works fine, but the current project seems to fail to auth
Toggled off the Confirmation Email from Auth Settings, seems it works. I've checked the documentation and I'm doing everything is there but needed the confirmation email functionality
Logs :
Nov 19 19:09:42 yrlczrvsifuxsooywcvg systemd[1]: Started Gotrue. Nov 19 19:09:42 yrlczrvsifuxsooywcvg gotrue[4617]: time="2021-11-19T19:09:42Z" level=info msg="GoTrue migrations applied successfully" Nov 19 19:09:42 yrlczrvsifuxsooywcvg gotrue[4617]: time="2021-11-19T19:09:42Z" level=info msg="GoTrue API started on: localhost:9999" Nov 19 19:09:47 yrlczrvsifuxsooywcvg gotrue[4617]: time="2021-11-19T19:09:47Z" level=info msg="request started" component=api method=POST path=/signup referer="http://localhost:3100/" remote_addr="89.47.114.170:51850" request_id=4becdfc3-efea-4b09-a50c-880af0b78d47 Nov 19 19:09:47 yrlczrvsifuxsooywcvg gotrue[4617]: time="2021-11-19T19:09:47Z" level=error msg="500: Error sending confirmation mail" component=api error="Error sending confirmation email: EOF" method=POST path=/signup referer="http://localhost:3100/" remote_addr="89.47.114.170:51850" request_id=4becdfc3-efea-4b09-a50c-880af0b78d47 Nov 19 19:09:47 yrlczrvsifuxsooywcvg gotrue[4617]: time="2021-11-19T19:09:47Z" level=info msg="request completed" component=api duration=410048740 method=POST path=/signup referer="http://localhost:3100/" remote_addr="89.47.114.170:51850" request_id=4becdfc3-efea-4b09-a50c-880af0b78d47 status=500
Tried with another project from 0 in nextjs. Same issue applies
o
Hi You should be able to get the error in the ``catch`` section when signup @User
So using try/catch, or using ``.catch`` method