2,809 questions
0
votes
0
answers
55
views
Issue with BlocksRenderer rendering rich text when using TailwindCSS
I'm having a problem using BlocksRenderer from @strapi/blocks-react-renderer. I've double-checked everything, and the data coming from the backend is correct. However, when I pass the rich text ...
0
votes
0
answers
56
views
Strapi CORS not working behind Nginx Proxy Manager (Docker), headers always empty
I'm running a Strapi backend behind Nginx Proxy Manager (Docker) and trying to enable CORS.
Strapi version: latest
Nginx Proxy Manager: latest Docker image
I want to allow requests from my frontend ...
0
votes
0
answers
84
views
How to persist "Configure the view" field label changes across deployments?
I’ve just started working with Strapi v5 and noticed that for each Collection Type you can change the field labels via "Configure the view". This is very helpful because the technical field ...
1
vote
1
answer
62
views
How to set collection types to "published" during import?
I’m currently getting familiar with Strapi v5, as we’re planning to move from TYPO3 to a JavaScript-based framework.
I’ve written an import script, but I’m running into an issue where all imported ...
Best practices
0
votes
1
replies
43
views
How to get older emails from email mailbox
I am setting up a client's own mailbox for all emails from his other mailboxes. The problem is that he wants to retrieve all his old emails from January 1, 2024 to the present. I am using Imapflow in ...
Advice
0
votes
0
replies
23
views
Strapi 5. Files authorisation management
Strapi has native solution for uploading files. One of the option is adding reference to entries (doc). As I already tried any permission user can refer file to any entry which is strange. I need to ...
0
votes
1
answer
32
views
Strapi 5. Save document with relation
I have table invites and I see in the database besides my fields it also has created-by-id. I use this code to create record:
await strapi.documents('api::invitation.invitation').create({
...
-1
votes
1
answer
57
views
How can I add data to a repeatable component inside a collection type using a beforeCreate lifecycle function in Strapi?
In my collection Product i have a field named "Natritional" which a repeatable field with has:
value (int)
nutrition (relation to nutritions)
i want fill the repeatble field beforeCreate ...
2
votes
0
answers
141
views
Strapi v5 Google Auth: "Grant: missing session or misconfigured provider"
I'm trying to set up Google authentication in Strapi v5 using the Users & Permissions plugin, with a Next.js frontend.
The problem happens right after I accept the Google login.
Instead of ...
1
vote
0
answers
47
views
Keep strapi process running even with compilation error in dev mode
Currently when I save file and this file can't be compiled I see error log in strapi and then it just exits. So every time in such cases(which happen often during development/copy-pasting etc) I need ...
0
votes
1
answer
72
views
strapi filter by related users in strapi in many to many relationship
const projects = await strapi.entityService.findMany('api::project.project', {
filters: { users: { id: { $eq: userId } } },
populate: ['tenant', 'users'],
});
the above code is ...
0
votes
1
answer
75
views
Check my local Strapi server's Content Manager against Strapi Cloud server's Content Manager?
I'm using Strapi Cloud version 5 headless CMS for my website. But sometimes it's easier to work with the local Strapi server localhost:1337 - I don't have to wait for the deployment. The problem is, ...
0
votes
1
answer
34
views
Cannot retrieve content from relation in single type
I am facing an issue to retrieve data from Strapi api (v5)
I have a single-type called accueil.
Inside it, there is a component sectionTemoignages which has a relation to many temoignages (...
0
votes
1
answer
39
views
How does it work to update a draft but keep it as a draft on the same id? Strapi and react
While the draft I would like to edit does get sent with the redirect to the edit page, it keeps giving me a not found error.
output
Draft in Edit:
{id: 5,
documentId: 'uqmaazyp3zb01az41s0sfzbm',
...
0
votes
1
answer
52
views
Strapi local development and deploying
I'm using strapi backend with a react frontend. At the moment I'm using a sqlite database that Strapi comes with, for production I wanted to use a mysql database.
Is a good idea to use sqlite locally ...