Not quite enough information to help you out.
- Deploying where and how?
- "Can't access" What does this mean? Does the page give you a 404? Does it render and give you an error? Are there errors in console? Password not accepted? etc
Hi Elliot, I am pleased to inform you that I have resolved the initial issue with your help. However, a new problem has arisen. After redeploying the project, the page appears blank, despite all HTML tags rendering correctly in the console. Additionally, the admin panel UI displays correctly, but when attempting any edits, a message saying "you are not allowed to perform this action" appears in a red toast notification. The console message reads: (POST
https://ifuture-payload-ddc1f7b.payloadcms.app/api/media?depth=0&fallback-locale=null403 (Forbidden))
Does this happen when you run it locally?
Nope
Here is the GitHub repo
If you want to explore my code
and
hello
I am trying to query docs with nested docs.
trying to find all docs with a particular tag
from payload.config.ts
{...
{
name: 'tags',
type: 'relationship',
relationTo: 'tags',
hasMany: true,
admin: {
position: 'sidebar',
},
},
}
Queries on fields (date etc.) work fine.
I try a nested query and get a 400
where%5Btags.id%5D%5Bequals%5D=%226615878779a378018bcf2317%22
Create a separate collection named Tags and establish a relationship with other collections by referencing it.
Was this to me ?
Sorry my friend I was answering this
l have solved my problem
But I need your advice about managing locale in my app I have activated it in payload.config as in the docs and for all required fields and collections but Still have problem with managing it globally in my app the main problem is how to fetch data by graphql queries with different values for locale and manage the direction rtl in Arabic language
Star
Discord
online
Get dedicated engineering support directly from the Payload team.