Strapi is an open-source Node.js headless CMS built on top of Koa. It's frontend-agnostic and claims to not be an MVC framework. It auto-generate RESTful endpoints and has support for GraphQL and WebSockets.
Questions tagged [strapi]
2734 questions
0
votes
2 answers
Strapi controller throwing a NotFoundError : I get a response status 500 instead 404... How can I fix it?
I have a Strapi controller method that fires a NotFoundError:
async matchTrack(ctx) {
throw new NotFoundError('YO NOT FOUND');
}
When I call the endpoint, the error is thrown, but the response code is 500 instead of 404.
[2023-06-08…

gordie
- 1,637
- 3
- 21
- 41
0
votes
1 answer
Preview of my uploaded assets to Private Azure blob storage is not showing in strapi dashboard
[enter image description here][1]The preview of my uploaded assets is not showing in Strapi dashboard after uploading the file to my Private Azure blob storage. I am using my storage access key to provide permission to Strapi. I am able to upload…

Adarsh
- 3
- 3
0
votes
0 answers
Sending the form to Sptari v4
enter image description hereGood afternoon colleagues.
my problem is that i want to understand how exactly i can get the image from Strapi if i have sent it with a form and additional fields of the input.
In the screenshots that I provided you can…

влад
- 3
- 2
0
votes
1 answer
How can i migrate changes in my strapi collection types from development to production
I am using strapi v4. I create a few collection types in my development environment. Then i deploy my instance to production. After this I add change my collection types in development. How can i deploy these changes to production?

Robert Hufsky
- 131
- 3
- 16
0
votes
0 answers
strapi error when i open settings or content-type-builder
My strapi project is working on local and i am able to open the urls
with out any error
http://localhost:1337/admin/settings/application-infos
http://localhost:1337/admin/plugins/content-type-builder/content-types/api::account-cms.account-cms
but…

Bilal Rabbi
- 1,602
- 2
- 18
- 39
0
votes
0 answers
How to stop crawling the admin with strapi and nuxt
I have a project created with strapi and nuxt. When i try to block the link admin.mywebsite.com from being crawled in the live version with the robots.txt, it doesn't work. I tried to disallow the /admin, but that didn't work. It would be possible…

maipo89
- 1
- 1
0
votes
0 answers
I want to deploy a Strapi application with IIS, how do I do that?
How to deploy an application using Strapi and IIS. I know that a web.config is needed, but I can't get it to work.
I used a web.config file with a node project configuration but it didn't work. I received an "iisnode encountered an error when…
0
votes
0 answers
CK editor 5 is not showing as marked in fronted
Ck-editor 5 is not showing as a markdown in fronted its showing as a string
For example instead of showing
Header
It's showing
Header
I tried to install CK editor in fronted too How to solve the issue I'm using next js as a front end site
M Zisam
- 1
0
votes
0 answers
strapi database storage user cart
Please tell me - how can I save the data of the user's basket of goods to the database in strapi, so that when the page is updated, the basket of goods does not disappear
I only found a way to save data in local storage, but I don't understand how I…
0
votes
1 answer
Jwt-token disappear when i refresh my page
i had just finished my authentication on nuxt with the NuxtStrapi plugin and when i tried to register, it worked all fine but when i tried to go on another page or to refresh, my cookie was disappearing. I have been told to use the useCookie to…

RENAUD
- 1
0
votes
0 answers
image does not display when fetched from strapi
i'm trying to write a product page that fetch the values from strapi
but the problem is that every content is fetched correctly but the IMG that shows nothing
what i'm seeing in my page
this is the whole code:
import React from "react";
import {…

Kasra Riahi
- 11
- 1
0
votes
1 answer
Strapi V4 - I don't understand how to get information about the user's permissions
I don't get it : how do you get the permissions for an authentificated user ?
There is an endpoint GET /users-permissions/permissions. If I query it while authentificated, I get a response that contains permissions, eg.
"api::playlist": {
…

gordie
- 1,637
- 3
- 21
- 41
0
votes
1 answer
In Strapi V4, How should I register a middleware to alter the responses returned by /user or /user/:id?
I've started to play with middlewares, it's great !
Here's an example of how I can inject a middleware when calling endpoints /api/playlists or /api/playlists/:id (I edited the file src/api/playlist/routes/playlist.js).
module.exports =…

gordie
- 1,637
- 3
- 21
- 41
0
votes
0 answers
Error starting Strapi app, Error: read ECONNRESET
I'm trying to set up a strapi app.
Ive installed the app with yarn create strapi-app app-name
if I then try start the app with yarn develop
I get the error
Error: read ECONNRESET at TLSWrap.onStreamRead (node:internal/stream_base_commons:217:20) {…

lomine
- 873
- 5
- 20
- 36
0
votes
0 answers
Issue Fetching Data by Slug as UID in Strapi: Purpose of Making Slug as UID?
In Strapi, fetching data by ID is straightforward, but when using slug as a UID (unique identifier), the findOne function doesn't seem to work. Instead, the findMany function is suggested to search for entries with a specific slug. This raises…

Komeil Mehranfar
- 45
- 1
- 2
- 13