Closed joshuaiz closed 4 months ago
The repo os here: https://github.com/joshuaiz/towerlakes100
looking at the error from the network tab this doesn't look like an UploadThing error?
@juliusmarminge yes that is a Vercel error but the endpoint is correct and it works the second time so it is a bit of a mystery.
yea i just don't know how much i'll be able to help you. you're probably better off opening an issue over at astro or a support ticket to Vercel.
No worries @juliusmarminge - thanks. Can confirm it works with isDev: true
in the config. I will follow up with Vercel and in the Astro Discord and report back. Will leave this open for now.
This issue has been automatically marked as stale because it has not had any activity for 10 days. It will be closed in 5 days if no further activity occurs.
This issue has been closed because it has not had any activity for 5 days since being marked as stale.
Provide environment information
Describe the bug
Uploading works locally without any issues.
On production (Vercel) I get the following errors in the console after selecting file(s) and clicking the 'Upload' button using the React Dropzone component.
My stack is Astro + React using the UploadThingSSR component.
The upload fails. But then if I click the 'Upload' button again, it uploads the second time.
Link to reproduction
https://towerlakes100.org/
To reproduce
Visit: https://towerlakes100.org/
Fill out the form - you can use dummy info: for the Island question select
Goose Egg Island
otherwise you will get an error.Once the form is filled out, we show the uploader. Select a file and attempt to upload by clicking the Upload button. The upload fails.
Click 'OK' on the alert failure message and then click the 'Upload' button again. It will work the second time (??)
Note: I have the window reload turned off after Upload Complete so the console messages can be viewed so on upload complete it will just show a success message but will not programmatically reload.
Additional information
Not sure why this is failing the first time but works the second time.
Here are the error logs from Vercel...there are two errors:
Error 1:
Error 2 (Internal Server Error 500):
๐จโ๐งโ๐ฆ Contributing
Code of Conduct