Category "strapi"

Cron job in strapi V3 does not get triggered when a method from strapi services is called

config/functions/cron.js async function logger() { console.log("Hello, Im Async"); } module.exports = { '*/10 * * * * *': async () => { con

Can I create multiple elements of the same type using Strapi and GraphQL?

Can I create multiple elements of the same type using Strapi and GraphQL? For example - createMultipleFoo mutation(data: [ nameOfFoo: "ooaoaoa", weightO

Redirect Strapi admin index to admin login

I am currently looking for way to create a permanent 301 redirect from the default Strapi admin index route (ie strapidomain.com) to the configured admin route

Strapi giving me DB errors in production, even though I'm using correct credentials

EDIT: I found a file at /config/database.js which is used to connect to sqlite in development. When I change the client name from sqlite to postgres, that's whe

What is the proper format for HTTP POST Dynamic Zone data with Strapi API?

I have a Strapi user collection that looks like this. I am trying to use the API to create a new user with the "AdditionalInfo" dynamic zone filled with "Stud

Strapi API cannot retrieve data

i have collection in strapi named movie, in there i have 24 data. but after retrieve movie data via API, i just get 0 rows data, im sure the endpoint status is

How to override Strapi Admin panel endpoints?

In the admin panel - I have a content-type products, which shows me all the products in the database (MongoDB) Suppose I would like to edit a product and whe

GraphQL - retrieves only maximum 10 items from Strapi

I am using React with Strapi and GrapqQL in order to retreive my data from Strapi. Seems that my query retrieves only maximum 10 items. The API is changed with

Strapi Hide Content Type

I've search for several hours how to hide a specific content type. I found some post but they are too older and their solutions doesn't work in the actual's str

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: