Category "strapi"

Strapi Plugin Route Default Permission

I am building a plugin for Strapi with several routes, for example: { "method": "GET", "path": "/preAnalyzeImportFile", "handler": "Impor

Add a parameter to Strapi V4 request header

I am using Strapi V4 as my CMS and using ECS S3 as the media storage. I am using https://www.npmjs.com/package/@strapi/provider-upload-aws-s3 as the provider up

Next.js, Strapi - Fetch response is empty

I have nextjs frontend that fetch data from strapi backend. Problem is that data is empty even if i can see on strapi dev logs that request has been made. This

Retrieve env variables in Strapi plugin

I develop a Strapi local plugin but I'm unable to retrieve variable defined in my .env file at the root of my project. I try to load this value in my React comp

Next JS deployed in Vercel, bug backgroundImage property with external URL file

I have in my Next.js project a card component with a backgroundImage from my Strapi API. The image is shown in local but when I deploy my project in Vercel it d

How do upload the Loader.io verification token in a Strapi app?

We have an app built with Strapi, let's say, https://my-strapi-app.com I want to load testing of the application For that, I went with Loader.io Now before load

I am getting error when I am working on Strapi app using GrapQl

I am following this tutorial https://strapi.io/blog/nextjs-react-hooks-strapi-restaurants-2 My query is { restaurants { id name } }

Not able to create a new collection-type in Strapi Dashboard

I had just created a STRAPI project using , find docs here npx create-strapi-app@latest my-shop1 And then sign up to the admin portal. After signing up, I reac

Accessing image url in Strapi

I'm having some serious difficulties accessing my images from Strapi, and everything that I've come across on here just says to add 'http://localhost:1337' befo

Accessing image url in Strapi

I'm having some serious difficulties accessing my images from Strapi, and everything that I've come across on here just says to add 'http://localhost:1337' befo

How to query with multiple 'and' conditions in where clause in Strapi, GraphQL?

Now I am trying to query with multiple _and inside where in Strapi GraphQL playground. The query I am using is: { clients( where: { _and: [{ name:

How to have a field conditional in Strapi's admin panel?

I'd like to show a field/component conditionally, in the admin panel. Example: Let's say we have a simple enum field called "Provider". If the admin chooses Pro

Viewing unused images in Strapi

I have users who add images to a Strapi Media Library. I can't tell if images are actively used or not. I would love to clean out images taking up space that

Strapi + Next.JS + docker-compose: Is static generation impossible during build?

When I try to build my Next.JS application, which has a getStaticProps() function to get data from Strapi, the fetch fails. It fails because it is unable to res

Strapi JWT token lifetime?

I can't find any information about JWT token lifetime, how long in will be valid on Strapi CMS? And how i can automatically refresh the token when it will be no

Categories and sub categories for Strapi collection

Working with Strapi I have a collection 'Events' that has a category 'Music' and the subcategories 'Jazz', 'Funk', 'Samba'. How do I create a taxonomy system as

Strapi 4 and NuxtJS: Unable to connect via GraphQL (ECONNREFUSED)

I am building a small blog application using NuxtJS, Strapi 4 (and GraphQL) and apollo. To do that, i followed this tutorial: https://www.youtube.com/watch?v=yD

Deploy Strapi on AWS - ERROR: "Knex: Timeout acquiring a connection. The pool is probably full. Are you missing a .transacting(trx) call?"

I'm trying deploy Strapi on AWS, but when I'm launching pm2, then I'm getting error: "Knex: Timeout acquiring a connection. The pool is probably full. Are you m

How to generate Sitemap in Strapi v3.6.8 with strapi-plugin.sitemap v1.2.5

I am using Strapi v3.6.8 and installed strapi-plugin-sitemap 1.2.5. After I fill the data in the plugin: Hostname: localhost:1337 Include home page: ON Exclude

How to generate Sitemap in Strapi v3.6.8 with strapi-plugin.sitemap v1.2.5

I am using Strapi v3.6.8 and installed strapi-plugin-sitemap 1.2.5. After I fill the data in the plugin: Hostname: localhost:1337 Include home page: ON Exclude