pingdotgg / uploadthing

File uploads for modern web devs
https://uploadthing.com
MIT License
4.25k stars 315 forks source link

[misc]: XHR failed 400 - {"error":"Failed to verify URL"} #1065

Closed Sw0xy closed 3 hours ago

Sw0xy commented 3 hours ago

I understand that this issue may be closed if it should be filed in another category

My issue

Hi,

I am getting this error: XHR failed 400 - {"error":"Failed to verify URL"}. I was uploading some photos, and after uploading the first one, I tried to upload a second photo, but I got this error. Now, I am getting this error every time I try to upload. I have changed the keys, upgraded the dependencies, and double-checked everything, including trying to upload some photos on the dashboard, which were uploaded successfully.

System: OS: Windows 11 10.0.22631 CPU: (12) x64 AMD Ryzen 5 5600X 6-Core Processor Memory: 11.82 GB / 31.93 GB npmPackages: @uploadthing/react: ^7.1.1 => 7.1.1 typescript: ^5.4.5 => 5.4.5 uploadthing: ^7.3.0 => 7.3.0

Sw0xy commented 3 hours ago

Well, refreshing the broken date and time on my Windows 11 fixed the problem. I was on Linux trying to upload the first image, and when I switched to Windows, I forgot to refresh the date and time.