Questions tagged [strapi]

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.

Filter by
Sorted by
Tagged with
0 votes
0 answers
4 views

PDF attachments, generate and send

I'm trying to create an automatic invoice send whenever a booking is paid on strapi, I don't know how to create the PDF attachment for the email, Can anyone help?
FaysalB's user avatar
  • 323
0 votes
0 answers
16 views

403 forbidden error on my login Nuxt-Strapi form

i just created a login form with Nuxt-strapi but when i try it, i get a forbidden error from this path: http://localhost:1337/api/auth/local However, i followed the documentation step by step. I don't ...
RENAUD's user avatar
  • 1
1 vote
0 answers
8 views

400 (Bad Request) error when making a POST request to Strapi CMS API in Nuxt 2

Problem: I'm encountering an issue while attempting to make a POST request to the Strapi CMS API from my Nuxt 2 application. Despite providing the necessary data, I receive a 400 (Bad Request) error ...
Simeón's user avatar
  • 29
0 votes
0 answers
12 views

Fetching data from Strapi CMS to Next.js frontend using TypeScript and Tailwind CSS results in error

I am attempting to retrieve data from the Strapi CMS for my Next.js frontend website. I am using TypeScript and Tailwind CSS. In Strapi, I created a content type called "myqcourse" with 10 ...
Erfan's user avatar
  • 1
-3 votes
0 answers
19 views

"400 Bad Request" on my register/login form

i am currently creating a Nuxt-Strapi login/register form, but I am running into some difficulties. First, for my register form, when I click submit, I get this error on my console: POST http://...
RENAUD's user avatar
  • 1
0 votes
1 answer
12 views

strapi Image does not display with next Image

hi i'm using strapi as a backend, trying to display my image in my next application. i get the url from my apicall but when i put it inside my SRC in my Image component it render a broken image here ...
Matt Freelance Web's user avatar
0 votes
0 answers
17 views

Next.js getStaticProps runs on every request in production

getStaticProps runs on every request in prod. (locally as well when start with next build && next start). NODE_END is set to production. fallback is set to false. no re-validation. next.js 12....
Mykyta's user avatar
  • 198
-5 votes
0 answers
20 views

What is the best node.js framework or library for creating a secure and performant API with next.js in 2023? [closed]

i need some help i'm a little bit confused i want to create an api for a nextjs webapp ( that in futur bee used with mobile app also ) i see strapi and other headless cms that provide an api out of ...
juju_dev's user avatar
0 votes
0 answers
8 views

Deployment of Strapi to a DigitalOcean droplet with Nginx server

I'm having an issue being able to access a Strapi app deployed to a DigitalOcean droplet running Ubuntu 18.04. The docs have been followed but then they just sort of end. The app is definitely running ...
isoaxe's user avatar
  • 156
0 votes
1 answer
22 views

Can Strapi handle 1.5 million products and 30k categories with a depth of 6?

Can Strapi handle 1.5 million products and 30,000 categories with a category depth of 6? Hello guys, I am considering using Strapi for my e-commerce project, and I would like to know if it can handle ...
Francois's user avatar
0 votes
0 answers
18 views

How to configure Elasticsearch in Strapi?

I'm trying to integrate Elasticsearch into my Strapi project for efficient search functionality. I have Elasticsearch installed and running on my system, but I'm unsure about the necessary steps to ...
Komeil Mehranfar's user avatar
0 votes
0 answers
8 views

error Command failed with signal "SIGSEGV" with strapi 4.10

I'm trying to test an auth endpoint in strapi, And in my strapi app I'm running migrations but everytime I run the migrations with this line await strapi.plugin('migrations').service('migrations')....
Esraa Saad's user avatar
0 votes
0 answers
18 views

Strapi filters - square bracket encoding

Per the strapi documentation, the way to filter a collection is to use a square bracket syntax in the request query, eg GET /api/users?filters[username][$eq]=John In the first instance when ...
Nate's user avatar
  • 511
0 votes
0 answers
38 views

Why would a fetch request work but axios won't? [closed]

I am working on this tutorial of a E-commerce Full stack app with Strapi connected to the backend. I am sending a get request using Axios but i am getting "message: "Request failed with ...
Mohamad Nagi's user avatar
0 votes
0 answers
13 views

Building strapi docker image behind HTTP proxy takes ages (~50min)

I created a strapi V4 project according to the Quick Start Guide. Next I built it as described in the docs Running Strapi in a Docker container using this Dockerfile: FROM node:16-alpine # Installing ...
Marc0's user avatar
  • 1
1 vote
1 answer
42 views

NextJS 13 next-auth authentication with Strapi CMS

I am trying to implement Next-Auth on latest NextJS 13 with a strapi backend. However, most of the documentations that are available are either stale or do not capture the use of Google as a provider. ...
japheth's user avatar
  • 353
1 vote
1 answer
28 views

I'm getting uncaught runtime error of not existing data

I'm getting this uncaught runtime error while trying to access data of my productenter image description here import React from "react"; import { useNavigate } from "react-router-dom&...
juke box's user avatar
0 votes
0 answers
12 views

Strapi locales API got 502 on reverse proxy domain Nginx

I’m configuring strapi using Nginx on CentOS7, I’ve successful on config reverse proxy and my domains work. However, when I get in strapi dashboard, my locales API(/i18n/locales) got 502 and it break ...
Dave's user avatar
  • 1
-1 votes
0 answers
9 views

Strapi v4 Getting User Related Records

I have a Project content type and I'm trying to put User content type into it as a relation. How can I get user related Project records using core rest api ? I'm trying to fetch Project records using ...
cyclecyclone's user avatar
0 votes
0 answers
7 views

Strapi Cannot read properties of undefined (reading 'toISOString') while trying to delete dateTime picker

I have a problem with the datetime picker. In my Strapi dashboard, I have a field where users can specify a date and time. When I try to remove the date and time completely and make the input field ...
Nightcrawler's user avatar
0 votes
0 answers
33 views

Strapi Default Admin User Login via post request or api url

Currently i'm using strapi v 4.10.2 community version and trying to login as default admin user in browser through post request / api url trigger, of course the input is identifier and password, so ...
mazdacx3's user avatar
0 votes
0 answers
3 views

Strapi Homepage request with array of items and their details

I am trying to set up a Strapi deployment to provide an API for my website. I am attempting to display a list of brands and their logos on the home page. I have tried two routes: Create a brand ...
Nick Dart's user avatar
0 votes
1 answer
25 views

How to Retrieve All Trips in Strapi API Based on a Many-to-Many Relationship with the Sport Collection?

I am working with Strapi (my API, while the app is built using React), and I have two collections: Sport and Trip. The Sport collection has a single attribute named "Name" and one of the ...
Samuel's user avatar
  • 1
0 votes
0 answers
29 views

Creating Strapi Repeatable Components

I find creating repeatable components in Strapi strange and confusing. To add a new component on Strapi, I use the following steps: 1. Click on Content-Type Builder 2. Under Components sub-section, ...
Kofi Talent's user avatar
0 votes
1 answer
11 views

Strapi Navigation Internationalization: can’t save Chinese characters

I enabled internationalization in Strapi and in the Navigation Plugin. Everything works fine, until when I change “Home” to Chinese characters and click the Save button, nothing happens, but when I ...
ZackChim's user avatar
0 votes
1 answer
30 views

Configure Strapi to work with SSL (with proxy)

I'd like to set up Strapi so that mywebsite.de/api is redirected from Strapi's default port :1337. But at /api, my backend is not accessible. My frontend (on Gridsome Site Generator) is set to port ...
googleman's user avatar
-1 votes
0 answers
26 views

Showing Node Version 19.6.0 while installing strapi but showing version 14.21.3 on typing node -v

While installing strapi i have installed node js version 14 but when creating strapi app it end with You are running Node.js 19.6.0 Strapi requires Node.js >=14.19.1 <=18.x.x Please make sure to ...
Subrat Jena's user avatar
0 votes
0 answers
15 views

Strapi fails to stratup on AWS ECS

I have a strapi image and a postgres image and I deploy both of the to AWS ECS what happens is Postgres runs and is healthy Strapi tries to startup Strapi fails to startup because it tries to delete ...
Ali Osman's user avatar
0 votes
1 answer
26 views

Stripe webhook doesn't execute callback. Or am I missing something?

I have a project in Next.js with Strapi & Stripe. There is a webhook that is executed after successful payment and after that, it should run markProductAsSold callback, and it does but only at ...
Lazarusss's user avatar
1 vote
1 answer
27 views

Repeatable fields across collections in Directus CMS

I'm currently using Directus CMS as a headless CMS. I've already created a collection which is effectively a single page on the website, a homepage in this case. I've created this page as a singleton ...
Jude Fernandes's user avatar
0 votes
0 answers
22 views

How to add strapi images to next.js public folder

I'm building website with Next.js and strapi. I'm using build + export in next.js I need all images used in project to be put in next public folder so i don't have to host strapi dashboard. How to ...
Dawid Mazewski's user avatar
0 votes
1 answer
28 views

Why is my dynamic Vue 3 page not reloading its content on page change?

I have the following vue3 template file that fetches data from Strapi. It works on my local machine but when I run it online the content only loads on first page load and doesn't change when I change ...
Lisa's user avatar
  • 113
0 votes
1 answer
11 views

How to interact with Strapi Menus plugin?

I've installed strapi-plugin-menus after restart the server I can't see anything on the admin sidebar. But the documentation shows there should be a Menus page link after Media Library.
Hasibur Rahman's user avatar
0 votes
1 answer
23 views

strapi index error when i try to save anything

Every time i save anything in my strapi application i am getting error error: alter table "account_landings_components" add constraint "account_landings_unique" unique ("...
Bilal Rabbi's user avatar
  • 1,504
0 votes
0 answers
19 views

can to select primary value with relation many to many in strapi?

in strapi when create the relation with two section i need to select one item is primary add flug for this item primary ? for example : I expected it to be possible to choose between primary value ...
Ahmad AL-Ghalban's user avatar
1 vote
1 answer
37 views

How to create multiple database entries and have id of first inserted entry as parentId field for the rest entries?

I need to create multiple entries in db (I have array of data objects). The first entry should be the main, other entries should be the children of the first. [entry1: {parentId: null}, entry2: {...
John Smith's user avatar
  • 1,164
0 votes
0 answers
11 views

Is it viable to use Strapi in my application?

I'm currently exploring the feasibility of incorporating Strapi into my existing application, which is deployed as microservices in a Kubernetes (k8s) environment. At the moment, we utilize ktor for ...
Francisco Perez Lefiman's user avatar
0 votes
1 answer
60 views

Uploading file to strapi upload api from next js api route not working

I am using react dropzone on a page to send a file to an api route /api/upload and then use the api route to upload the file to a Strapi upload api like this: import formidable from 'formidable'; var ...
Kofi Talent's user avatar
0 votes
1 answer
20 views

Strapi nested components not showing up in strapi get API

I have two components. addon and addon_item. addon again have addon_item as component as one of its field. One collection named menu_item which have a field as addon_component. Now when i am running &...
Nitin's user avatar
  • 1
0 votes
0 answers
17 views

Mardown - Rich Text - Strapi - Nuxt 3 - display on website

POST FOR BLOG. I fetch rich text from API for example: { "description":"###Title. font bold ###Secound Title..." } I want convert description to html structure. How can i do it? I ...
Dawid 's user avatar
0 votes
0 answers
16 views

How to edit the default user model provided by Strapi?

By default, strapi uses email password auth, because of which email and password are required fields. I want to have just email OTP auth. So I removed the password field from the attributes in src/...
U. Watt's user avatar
  • 533
0 votes
1 answer
37 views

How can i fix my fetch issue in my code im having issues and i cannot go on forward to complete this site [closed]

So ill give you my error message: Failed to fetch TypeError: Failed to fetch at getItems (http://localhost:3000/main.b060b3b85b623d5e4359.hot-update.js:47:25) at http://localhost:3000/main....
sylo's user avatar
  • 29
0 votes
0 answers
25 views

Trying to deploy Strapi app on Heroku and am getting 'Cannot read property '@strapi/plugin-i18n' of undefined' Error

I am trying to host my Strapi backend on Heroku and keep getting the same error in the build log: -----> Installing dependencies Installing node modules npm ERR! Cannot read property '@strapi/...
Austin Croucher's user avatar
-2 votes
0 answers
47 views

SQLITE_ERROR: unknown database `public`

Whenever I'm running yarn test, the test case gets failed. And this error gets thrown create table `public`.`strapi_migrations` (`id` integer not null primary key autoincrement, `name` varchar(255), `...
Dev Gaud's user avatar
  • 592
0 votes
0 answers
16 views

Strapi data losing

I'm a new Strapi user. I uploaded my Strapi backend via Heroku, but the data I entered every night is lost and it's like my Strapi backend is a hard reset. I'm deploying a github repository manually ...
lestonz's user avatar
  • 129
0 votes
0 answers
94 views

MedusaJs with strapi default command run error - ApplicationError: The type is required

I am setting up medusaJS with Strapi by default command https://docs.medusajs.com/plugins/cms/strapi I did setup Redis, medusa cli, was using Node version 16,18. However, I got this issue Now using ...
Felix Le's user avatar
0 votes
0 answers
16 views

Why the strapi admin panel may not open?

The Strap admin panel does not open. But the nextjs application received data from strapi. Nginx seems to be configured correctly. connetion config/server.js I don't see any errors in nginx logs nginx ...
Кирилл's user avatar
0 votes
0 answers
22 views

How to change the API ID in strapi?

I just started working on strapi. After created some collections, I want to go back and change the api id. But it seems that I cannot do that in the content-type builder. If I need to change it, do I ...
Shi Kin Ma's user avatar
0 votes
1 answer
43 views

How to solve 400 bad request error in my nuxt-strapi app?

I was working on a nuxt-strapi app 3 month ago. After 3 month delay, I decided to continue the project. In my app I have an Authentication system that uses nuxt-auth. The registration process works ...
hamid-davodi's user avatar
  • 1,562
0 votes
0 answers
26 views

Can't upload images from strapi to Digital Ocean Spaces

I'm trying to upload images to Digital Ocean Spaces from the Strapi admin panel to persist the media over the server restart but after sveral hours of debugging I still can't find a reason why the ...
Nicolas's user avatar
  • 399

1
2 3 4 5
52