Skip to main content
Filter by
Sorted by
Tagged with
0 votes
0 answers
50 views

I'm using mongo db with payloadcms and I have tree like structure. We have a collection called nodes. A node have children as array and a parent id. Now I want to change the node status like marking ...
Shoaib Ahmed's user avatar
0 votes
0 answers
37 views

I am getting this below error when using one click vercel payload deployment. https://vercel.com/templates/next.js/payload-website-starter All the connection strings are added properly(automatically). ...
Lahiru Lanka Rathnayaka's user avatar
1 vote
1 answer
73 views

i am trying to save my Lexical richText field to a lexicalHTMLField inside a payload CMS Block, but my links are not rendered correctly. All internal links are just shown as <a href="#"&...
14pixels's user avatar
0 votes
0 answers
42 views

My previous post was being closed by its own, though it's still not solving my problem HERE the current RTE toolbar already provide a numerical ordered list, and I want to add more (alphabetical and ...
stuckherenthere's user avatar
0 votes
0 answers
75 views

I would need some help regarding creating a custom toolbar for PayloadCMS RTE. The current version is PayloadCMS 3.49.1, and linked with @payloadcms/richtext-lexical version of 0.28.0. My goal is to ...
stuckherenthere's user avatar
2 votes
0 answers
96 views

I'm using Payload CMS with a Next.JS frontend and axios for fetching data via the provided REST API. I need i18n support for the content as well as the interface, e.g. error and validation messages. ...
Constantin Müller's user avatar
0 votes
0 answers
61 views

I've set up a payload app with two auth enabled collections - admin and students. Admin is specified in payload.config.ts as being the collection with admin panel access as shown here: admin: { ...
DS_ON's user avatar
  • 1
0 votes
0 answers
104 views

I'm new to Payload CMS, and I'm trying to use it headless. IDK what's true right now, but ChatGPT is telling me that to use Payload headless in a mono-repo with backend and frontend totally separate ...
BBaysinger's user avatar
  • 6,927
0 votes
0 answers
42 views

I have a typical relationship between Users and Posts Users: export const Users: CollectionConfig = { slug: 'users', admin: { useAsTitle: 'email', }, auth: true, fields: [ { ...
Marcos Di Paolo's user avatar
1 vote
0 answers
227 views

I'm using payloadcms in a project but i'm having issues generating types and importmaps. It says its conflicting with css files used in @payloadcms/ui. node:internal/process/promises:394 ...
harveykrichards's user avatar
0 votes
0 answers
37 views

I'm trying to mutate a nested object in the beforeChange hook of a Payload CMS collection definition: const newContent = structuredClone(props.data.content); const newData = await props.req.payload({....
gusti's user avatar
  • 567
0 votes
0 answers
47 views

I'm developing with Payload a customized views inside the admin panel. views: { SupervisorView: { Component: SupervisorPage, path: '/supervisor-list', exact: true, }, }, I found ...
Emanuele's user avatar
  • 814
0 votes
1 answer
232 views

I am trying to add payloadcms/translations from payload to my cms written with payload cms and next, "@payloadcms/translations": "^3.42.0", "@payloadcms/ui": &...
JGarnie's user avatar
  • 624
1 vote
0 answers
42 views

I'm trying to build my app with Docker. All processes look pretty fine, but in the last stage, while NextJS is building static pages, an error happens "errno": -111, "code": "...
user30565566's user avatar
0 votes
1 answer
137 views

I am trying to render an url field that users can change, and next to it a custom component that will display the currently selected image. The issue appears on the edit view for the elements on the ...
JGarnie's user avatar
  • 624
0 votes
2 answers
179 views

I'm working with Payload CMS integrated in a Next.js app. Currently there is a field with the following structure: { name: 'content', type: 'richText', editor: lexicalEditor({ features: ({ ...
ivkremer's user avatar
  • 1,275
2 votes
1 answer
1k views

still very new to payload, this is my first project in it. when I try to build my payloadcms app that was based on the blank template I get this: I tried looking online but I could not find any answer ...
black-purple's user avatar
2 votes
1 answer
2k views

i tried running yarn payload generate type from my terminal to generate types for my new collection but i keep running into this error my Users collection file is intact but for some reasons it is ...
Nasiru Ismail's user avatar
0 votes
1 answer
48 views

I’m using Payload CMS (v3.35.1) with a Next.js frontend and PostgreSQL on Render. I'm trying to fully integrate Cloudinary for media uploads using @jhb.software/payload-cloudinary-plugin. I’ve gone ...
Mario Epsley's user avatar
0 votes
3 answers
49 views

Payload CMS has generated this interface for me: export interface Page { id: number; Title?: string | null; slug?: string | null; slugLock?: boolean | null; sections?: | ( | { ...
Chris's user avatar
  • 1,587
0 votes
0 answers
142 views

I am new to Paylaod CMS & trying to use Jobs Queue, just trying to send email every minute and testing on local machine. Here is my payload.config.ts: export default buildConfig({ jobs: ...
Dinesh's user avatar
  • 875
2 votes
1 answer
498 views

I want to validate on PayloadCMS page beforeSave action: On page I call the revalidateDarkPage hook: hooks: { beforeChange: [revalidateDarkPage], }, here is the custom hook export const ...
kukkurkurat's user avatar
2 votes
1 answer
140 views

In payload CMS, polymorphic relationship many fields have a type like the following: interface TypeA { a: 1 } interface TypeB { b: 2 } interface TypeC { c: 3 } type Example = { items: | ( ...
Violet Rosenzweig's user avatar
1 vote
1 answer
486 views

Here is my current media collection config: import type { CollectionConfig } from "payload"; export const Media: CollectionConfig = { slug: "media", ... access: { read: () ...
Dince-afk's user avatar
  • 232
0 votes
0 answers
28 views

My below payload cms collection named Queries is converting data to desired format correctly before saving... (Checked in console.log)... but it's not saving as required in MongoDB... e.g. it console....
Haroon Absar's user avatar
0 votes
1 answer
69 views

import { CollectionConfig } from 'payload' import { GetVideoUrl, VideoReward } from '@/endpoints/video.rewards' export const Videos: CollectionConfig = { //this is video collection slug: 'videos', ...
SHERAWAT LOKESH's user avatar
0 votes
0 answers
47 views

I using payload cms with next.js. I had a form and add a richText field. When I use the richText, I didn't use some features. For example, change font size, text color etc. I will make the custom ...
Mehmet Efe Özcan's user avatar
-1 votes
1 answer
833 views

I'm running a next.js site with Payload CMS backend and am having some issues. Can anyone help with why this auth destructuring issue is occurring? I see that auth is related to the JTW identification ...
Tim Barnsley's user avatar
0 votes
1 answer
236 views

I am trying to deploy my Payload CMS app to Azure App Service as a container using Docker but I am facing issues with docker build command. I am trying to deploy the basic website template with no ...
Jason Susanto's user avatar
1 vote
1 answer
565 views

I am working with playload cms & trying to create a doc in collection with a file, following this payload documentation article https://payloadcms.com/docs/upload/overview#uploading-files ...
Dinesh's user avatar
  • 875
2 votes
3 answers
1k views

Been busy trying to setup payload in my application but ran into a roadblock with the S3Storage plugin and I'm at a loss to figure out why this doesn't work with my application but it does work with a ...
David Wong's user avatar
  • 10.3k
1 vote
1 answer
138 views

I'm new to TypeScript and converting my site from WordPress to Payload and I'm getting an error code that I can't find anywhere to fix. The code works but I would like to have the error message go ...
Gregory Schultz's user avatar
1 vote
0 answers
210 views

I am using Payload CMS (v3.20.0) with Next.js 15, deployed on Vercel (serverless runtime), and using MongoDB Atlas (M2 cluster) as my database. Problem Each time I refresh my home page, I receive the ...
tebogo's user avatar
  • 21
-1 votes
1 answer
114 views

Hey I am migrating to v3 rn. Im having issues with the custom endpoints. previously i could use path: '/find-by-path/*'. So i had a wildcard in the end of my path that i could use to capture the rest ...
Drake's user avatar
  • 7
0 votes
1 answer
81 views

Hey i am migrating from v2 to v3 rn. I have a access function that needs to validate based of field value of user. This is the old v2 code: export function roleAccess(slug: Slug, type: Type): Access&...
Drake's user avatar
  • 7
0 votes
0 answers
737 views

I've inherited a Payload CMS project and I have a component like this. I want to get the the defaultValue, which is a global string, and show it as the description value. Then you don't have to ...
xpress's user avatar
  • 1
8 votes
0 answers
687 views

I’m working on a custom field component for a Payload CMS array field. I followed the Payload CMS docs and attempted to use useField to manage the field's value. Here's the code: 'use client' import {...
Adam Sucharda's user avatar
0 votes
0 answers
465 views

So The user gets locked by entering consecutive wrong passwords and everything looks normal including the lockUntil having a ISO Date. I then hit force unlock. and the server returns a successful ...
Sam Alexander's user avatar
0 votes
0 answers
101 views

We have a page that invokes a RESTful request and we need to keep the URL and credentials hidden. Meaning, we can't execute it from the client side. Is there a straightforward way to run server-side ...
Vadim Berman's user avatar
  • 2,061
0 votes
1 answer
300 views

I’m using payload cms with supabase I connected my app to the database without issues and when i add something it reflect on supabase normally but when i delete something from my admin panel it does ...
Taste of Leaving's user avatar
0 votes
0 answers
63 views

I'm experiencing an issue with Payload CMS where adding a form block causes Jest worker errors in the frontend, while the admin panel works fine. Here's my setup: Environment: Next.js (15.1.3) ...
Ole Me's user avatar
  • 31
0 votes
0 answers
147 views

I've currently used next.config.js with withBundleAnalyzer: import withPlugins from "next-compose-plugins"; const plugins = [ withBundleAnalyzer({ enabled: process.env.ANALYZE === &...
Vasyl Zhuryk's user avatar
  • 1,258
0 votes
0 answers
17 views

Payload version: 2.0.0 using db-postgres With nested blocks, Postgres/Drizzle seems to be unable to create implicit tables. For example, my collection GlobalElements (elements that are the same for ...
Tobias Rothe's user avatar
0 votes
1 answer
237 views

I am trying to manually deploy payloadcms to azure web app services. I have locally run "npm run build" and created the build and dist folders. I then ftps into our server and copy the build ...
Qiuzman's user avatar
  • 1,843
1 vote
0 answers
64 views

I get this MongoDB error when trying to query from the DB using regex, which is supposed to ignore diacritics in the fields. I believe the RegExp query is the part causing the error. Is there anything ...
Boris Grigorov's user avatar
0 votes
0 answers
154 views

Issue with Live Preview and Preview Functionality on EC2 Instance in Combination with 'pnpm run build/start' Hi everyone, I'm facing an issue with the live preview and preview functionality in a ...
TurboPolyp's user avatar
0 votes
1 answer
944 views

I am trying to incorporate live preview with my Payload CMS, using Vue 3 as front end. I have followed this "tutorial" starting at around 11:00 but this CMS is usually more geared towards ...
eligolf's user avatar
  • 1,904
1 vote
1 answer
609 views

Now I'm using payloadcms to create my web application. You know, it supports built-in password recovery which can be used like this: forgotPassword: { generateEmailHTML: async ({ req, token, user }...
Hamilton Munic's user avatar
1 vote
0 answers
166 views

I followed a tutorial from yt Josh tried coding https://www.youtube.com/watch?v=06g6YJ6JCJU I am trying to make an app to manage entries. The functionality itself locally is in the pipeline. But due ...
Jakub Kosmal's user avatar
0 votes
1 answer
173 views

I have headless cms Payload and want to display a list of posts. But looks like it requests cookie authentication. I have found the disableLocalStrategy flag but It does not work I'm making postman ...
victor zadorozhnyy's user avatar