Search
Star
Feedback
Setup for Free
© 2026 Hedgehog Software, LLC
Twitter
GitHub
Discord
System
Light
Dark
More
Communities
Docs
About
Terms
Privacy
Next.js file attachment - Xata
X
Xata
•
3y ago
•
20 replies
alihammad
Next.js file attachment
Hi
, I
'm trying to upload file using Next
.js
, but it doesn
't work
.
I have upladed a file
, then I converted it to base64
, and finally I have sent it to Xata using XataFile like this
:
photos: [XataFile.fromBase64(photo-base64)]
photos: [XataFile.fromBase64(photo-base64)]
Xata
Join
This is Xata's community Discord server, where we discuss all things Xata: projects, features, dreams!
1,125
Members
View on Discord
Resources
ModelContextProtocol
ModelContextProtocol
MCP Server
Recent Announcements
Similar Threads
Was this page helpful?
Yes
No
Similar Threads
Making file attachment column public by default
X
Xata / help
2y ago
Route handlers in Next.js
X
Xata / help
2y ago
Unable to get file attachment url when using xata.sql
X
Xata / help
2y ago
Xata Starter Guide Next.JS trouble
X
Xata / help
2y ago