stormy-gold
stormy-gold16mo ago

IMG uploaded correctly on strapi but file details not stored.

I'm following the https://refine.dev/blog/refine-invoice-generator/ blog and got stuck in the uploading of an img part. I just cloned the example from Github and I have the same problem occurring in the example project. The IMG is uploaded correctly in the media library but the file details are not stored correctly in the company collection. Video & img for more context. Github link to code used in video: https://github.com/refinedev/refine/tree/master/examples/blog-invoice-generator Thanks!
Building an Customizable Invoice Generator App with Refine, Strapi ...
Looking for an invoice generator? Try out Refine. With our custom interface, you can build your own invoice in minutes! Learn more here.
GitHub
refine/examples/blog-invoice-generator at master · refinedev/refine
Build your React-based CRUD applications, without constraints. - refine/examples/blog-invoice-generator at master · refinedev/refine
No description
7 Replies
kapa.ai
kapa.ai16mo ago
Hi @timdamen. I'm kapa.ai, your friendly support bot. I will try to answer your question by searching through the knowledge base. :wave:
kapa.ai
kapa.ai16mo ago
---------------------- Hmm, I don't know enough to give you a confident answer yet. However, I recommend checking the refine documentation (https://refine.dev/docs) for more information on handling file uploads and working with media libraries. ---------------------- Note: you can ask me a follow up question by @ mentioning me again :speech_balloon: ----------------------
Overview | refine
What is refine?
kapa.ai
kapa.ai16mo ago
<@400011454184554496> kapa.ai is still learning and improving, please let us how it did by reacting below
modern-teal
modern-teal16mo ago
Could you create an issue for this? It may occur with useStrapiUpload hook. We’ll investigate and debug it as soon as possible 🙏🏻
other-emerald
other-emerald16mo ago
Can confirm this is happening to me as well
other-emerald
other-emerald16mo ago
I've created an issue for this here: https://github.com/refinedev/refine/issues/4161
GitHub
[BUG] IMG uploaded correctly on strapi but file details not stored....
Describe the bug I'm following the refine week ft. strapi blog and got stuck in the uploading of an img part. I just cloned the example from Github and have the same problem occurring in the ex...
tame-yellow
tame-yellow16mo ago
since the upload isn't work i can't test it but to update it from what I am reading on the strapi forums you need to first delete the old one and then upload the new one (only for fields that allow single uploads)