ratty-blush
ratty-blush•2y ago

Strapi issue.

I am trying to replicate the invoice generator from here: https://refine.dev/blog/refine-react-admin-invoice-genarator/ everything was okay until Company list page, while i am able to login using my username and password for a strange reason when Your companies loads there are no data to show even if I added a company from Strapi backend. Any ideas? Thanks in advance! 🙂
Develop your Own Customizable Invoice Generator with Refine and Str...
Looking for an invoice generator? Try out Refine. With our custom interface, you can build your own invoice in minutes! Learn more here.
34 Replies
Omer
Omer•2y ago
Hey @.happy3 , Could it be related to permissions? Does the user you log in with have GET permissions for company collection? 👀
ratty-blush
ratty-blush•2y ago
Good morning, sorry for the late response, here are my settings, the issue I am facing from the UI and console log i get.
No description
No description
No description
No description
Omer
Omer•2y ago
Could you share your network tab?
ratty-blush
ratty-blush•2y ago
Sure!
No description
ratty-blush
ratty-blush•2y ago
and this is when i call it in source code
No description
Omer
Omer•2y ago
Could you share companies request on your network tab?
ratty-blush
ratty-blush•2y ago
here
No description
ratty-blush
ratty-blush•2y ago
api calls seems okay!
Omer
Omer•2y ago
ratty-blush
ratty-blush•2y ago
Sure i will give it a try again!
Omer
Omer•2y ago
by the way, could your field names be different with the example?
ratty-blush
ratty-blush•2y ago
Good morning! Connected the example from github to my strapi instance. Still facing the same issue, I will read more on strapi documentation maybe i can find the problem there.
Omer
Omer•2y ago
Could you share response tab of "companies" request?
ratty-blush
ratty-blush•2y ago
also i tried contacts, I am able to add contacts in strapi from frontend, it creates an empty record, and if I add a record in backend it is not displayed on frontend
No description
No description
No description
Omer
Omer•2y ago
Could you share "Response" tab of Network request?