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.ai2y 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.ai2y 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.ai2y ago
<@400011454184554496> kapa.ai is still learning and improving, please let us how it did by reacting below
like-gold
like-gold2y ago
Could you create an issue for this? It may occur with useStrapiUpload hook. We’ll investigate and debug it as soon as possible 🙏🏻
flat-fuchsia
flat-fuchsia2y ago
Can confirm this is happening to me as well
flat-fuchsia
flat-fuchsia2y 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...
rival-black
rival-black2y 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)