File Uploads with UploadThing V7 in Next.js

  Рет қаралды 1,450

Ken Greeff

Ken Greeff

Күн бұрын

Пікірлер: 18
@t3dotgg
@t3dotgg Ай бұрын
🫡
@t3dotgg
@t3dotgg Ай бұрын
Good catch on the default file path though, that changed somewhat recently and we should swap it to match Next defaults
@kengreeff
@kengreeff Ай бұрын
Docs are great otherwise, super simple to setup and worked flawlessly. Was definitely surprised how easy it was to get started!
@mrvfino
@mrvfino Ай бұрын
Thanks for making this! I’ve been wondering why no one has done this yet (in terms of improved developer experience)
@DenonStudio-d5q
@DenonStudio-d5q Ай бұрын
How can we get all files in next js from uploadthings via api?
@kengreeff
@kengreeff Ай бұрын
I think you can use their API: docs.uploadthing.com/api-reference/ut-api
@DenonStudio-d5q
@DenonStudio-d5q Ай бұрын
@@kengreeff Can you please make video on it?
@alvinindrap
@alvinindrap Ай бұрын
I'm struggling to test the uploadthing in postman
@kengreeff
@kengreeff Ай бұрын
Why are you testing it in postman?
@alvinindrap
@alvinindrap Ай бұрын
@@kengreeff I need it to test my API
@kengreeff
@kengreeff Ай бұрын
Interesting, could you please reach out on Twitter/X and I can assist further
@arshifarooq9199
@arshifarooq9199 Ай бұрын
In my project I used legacy key for uploadthing when token was not available. Now, I updated my app to latest but still I am using legacy keys but it wont work anymore. And I am using app Id as well so how migrate to version 7. How to fix it. When uploading its shows no error, but nothing uploads in my uploadthing but 1 year before it was working. Please tell me how to fix it. Am I required to paste all keys secret key as well as legacy or something else.
@kengreeff
@kengreeff Ай бұрын
Have asked on X, follow here: x.com/kennng/status/1843936682674098344?s=46&t=_Yj45G9mlPvBVgv5aslnjw
@kengreeff
@kengreeff Ай бұрын
From the sound of things you need to use the UPLOADTHING_TOKEN not key or app Id. Make sure you are on the latest version as well. Feel free to reach out on Twitter if you need further assistance
@arshifarooq9199
@arshifarooq9199 Ай бұрын
@@kengreeff Thanks for response. At last testing many possibility the solution was simple no need to change anything in code just need to add new key with legacy key to .env file and its works.
@kengreeff
@kengreeff Ай бұрын
Nice, happy to hear
@souravpaul5293
@souravpaul5293 Ай бұрын
@arshifarooq9199 arshifbro how u fix it. I am also having the same issue . Previously it was working but now it is showing error. Please reply
We stopped using serverless. The results are insane.
18:27
Theo - t3․gg
Рет қаралды 134 М.
We Had Our First Outage...
9:48
Theo - t3․gg
Рет қаралды 76 М.
The Singing Challenge #joker #Harriet Quinn
00:35
佐助与鸣人
Рет қаралды 47 МЛН
The IMPOSSIBLE Puzzle..
00:55
Stokes Twins
Рет қаралды 176 МЛН
IDA 9.0 Features and Syscall Malware Analysis (Stream - 2/11/2024)
2:03:42
Next.js 'use cache' in 100 seconds
2:05
Delba
Рет қаралды 28 М.
10 common mistakes with the Next.js App Router
20:37
Vercel
Рет қаралды 230 М.
The article page
9:13
Shin's Rails Casts
Рет қаралды 9
Building Time Machine App (Next.js 15, Shadcn UI, v0)
28:34
Did Theo Just Steal My Startup Idea?
5:40
Ravi - Perfect Base
Рет қаралды 7 М.
Google OAuth2 with Omniauth in Rails
27:07
Ken Greeff
Рет қаралды 231
The Singing Challenge #joker #Harriet Quinn
00:35
佐助与鸣人
Рет қаралды 47 МЛН