#Formbricks deploy fails

18 messages · Page 1 of 1 (latest)

sullen barnBOT
#

Project ID: N/A

small grove
#

N/A

pine bone
#

that's not ideal, unfortunately I'm away from the computer for the weekend, maybe if it's something simple I could do it on the phone, but I'd need my buddy @slow sonnet to figure out the root issue for me if he's got the time.

slow sonnet
#

I have a formbricks deployment running myself

from the error it seems your service variables are invalid
would you mind sending me your service variables?
IMPORTANT: censor the sensitive ones like ENCRYPTION_KEY, NEXTAUTH_SECRET and SMTP_PASSWORD

pine bone
#

did you just deploy a new one? I was assuming that formbricks changed something and my template is no longer compatible

slow sonnet
#

oh no, I deployed this one a month ago, but good point I'll deploy a new one rq and see if i get the same issues

#

Deployed a new one, it's working completely fine for me so far

pine bone
#

that's odd, @small grove what did you do to have it crash with these errors?

small grove
#

Nothing else

small grove
slow sonnet
#

Just copy and paste all of them because I don't know which would be malformed (Only send those from your Formbricks service)
just make sure the censor the ones I mentioned, those are the only sensitive ones that I know of

slow sonnet
#

we moved to dms for the sake of privacy and security

Solution: The issue ended up being that the SMTP_USER wasn't a valid email, and since MAIL_FROM automatically uses SMTP_USER it used the invalid email as the email address, causing a malformed MAIL_FROM, causing the error

To solve the issue, we specified MAIL_FROM seperately from SMTP_USER

supple oarBOT
pine bone
#

that just leaves me with more questions, why would you have set an invalid email on SMTP_USER

slow sonnet
#

yeaa, that's what I said
That's apperantly what the SMTP server he's using gave him

pine bone
#

I have never not seen an SMTP username not be a valid email, fun edge cases

#

thanks for solving this one!