Use file picker to upload local files
Options
![Xano Support Chat](https://us.v-cdn.net/6037124/uploads/userpics/FKYXLB95T7IC/nMGWYAJV7MBEL.jpeg)
Xano Support Chat
Administrator
ADMIN
The problem is with uploading local files from PC to Xano API. I am able to use the file picker to upload the same file, but when I try specifying the path to the file, it gives me the below error. I can specify a web file and it works OK. I need to be able to upload a local file to the database via the API.
Tagged:
Best Answer
-
To use a local file, you will need to use the file picker. The file resource input type in the JSON body will only support an image URL or a base64 encoded image URL. Putting a local file path in the JSON body is not supported.
Categories
- All Categories
- 53 ? Announcements
- 47 ? Releases
- 37 ? Welcome
- 983 ? Help! I'm a Noob
- 125 ? No-Code Front-Ends
- 633 ? Working with APIs
- 439 ? Transforming data
- 126 ? Connect Xano to ...
- 50 ?? Find an Expert
- 348 ❓Other questions
- 35 ? Security
- 22 ✂️ Snippets
- 19 ? Showcase
- 7 ?️ Xano Chatter
- 62 ? Video Tutorials
- 171 ? Request a feature
- 229 ? Report a Bug
- 19 ? Templates & Extensions
- 7 ? Feedback