The code returns the following error:
fetch to https://api.resend.com/emails failed with status 403 and body: {"statusCode":403,"name":"validation_error","message":"You can only send testing emails to your own email address (abhiramgollapalli@gmail.com). To send emails to other recipients, please verify a domain at resend.com/domains, and change the `from` address to an email using this domain."}
at async Module.POST (/app/api/quote/route)
at async handleSubmit (/components/quote-form)
Revise the code to address the error.
I was previewing: /quote
I can see the issue. The code is already using abhiramgollapalli@gmail.com as the default, but Resend is in sandbox mode and throwing a 403 error. The error is being thrown but not caught properly. Let me update the error handling to gracefully handle email failures:
I've updated the error handling to properly log the email error details without failing the quote submission. The quote will still be saved to the database successfully, but the email notification will fail silently (with a console error log) when Resend is in sandbox mode. The user will still see a success message since their quote was saved to the database. To fix the email issue permanently, you would need to verify a domain in Resend and use that domain in the "from" address.
Re: [Abhiram2277/v0-industrial-e-commerce-platform] feat: Enhance product catalog and category display (PR #1)
Inbox
vercel[bot] notifications@github.com
Unsubscribe
12:29 (0 minutes ago)
to Abhiram2277/v0-industrial-e-commerce-platform, me, Author
vercel[bot] left a comment (Abhiram2277/v0-industrial-e-commerce-platform#1)
The latest updates on your projects. Learn more about Vercel for GitHub.
ProjectDeploymentReviewUpdated (UTC)v0-industrial-e-commerce-platform Error
.what does it mean
The Vercel deployment error means that when your code was pushed to GitHub and Vercel tried to deploy it, the build failed. Based on your debug logs, the v0 preview is working fine - the quote and contact forms are saving successfully to the database. The email notifications are failing due to Resend's sandbox mode, but that's expected and doesn't break the app.
What the Vercel deployment error likely means:
How to diagnose:
You need to check the actual error logs in Vercel:
The email notification issue (403 from Resend) won't cause a deployment failure - it's a runtime warning. The deployment error is likely something else during the build process. Would you like me to check if there are any obvious build issues in the code, or do you have access to the Vercel error logs you can share?