-
Notifications
You must be signed in to change notification settings - Fork 137
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Unable to display images or upload user image updates #3
Comments
It's already solved: Step 1: Setting Up Your Convex Function to Store File URLs // convex/files.ts
Step 2: Add to your schema
Step 3: Apply the changes to this file: //src/app/dashboard/_components/file-card.tsx
Step 4: you'll display each file with a download button. When the button is clicked, the file URL stored in your database is used to initiate the download. //_components/file-actions.tsx
Hope it helps. Thank you. |
|
I encountered some problems, regarding the inability to display images normally on the All Files page, and when clicking download, {"code":"InvalidStoragePath","message":"Invalid storage path: "xxxxxxx" is not a valid UUID string."},
When updating user image, check the convex log and it will show
failure.
Mutation
users:updateUser
Maybe the problem lies in the url or the tokenIdentifier?
this is my code
The text was updated successfully, but these errors were encountered: