Help is on the way! To mark it as solved, use the /solve command. In the meantime, here are some existing threads that may help you:
#I can't access the admin dashboard after deployment
14 messages · Page 1 of 1 (latest)
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=null 403 (Forbidden))
Does this happen when you run it locally?
Nope
Here is the GitHub repo
https://github.com/MohamedHegazy2020/ifuture-payload
If you want to explore my code
and
https://ifuture-payload-ddc1f7b.payloadcms.app/
Glad your issue was resolved! :tada: If you want to help make payload better, please give us a :star: on GitHub and review us - It helps us a lot.
🌟 Star Us on GitHub
👍 Review Us
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
@safe stag Create a separate collection named Tags and establish a relationship with other collections by referencing it.
@valid aurora Was this to me ?
Sorry my friend I was answering this
@safe stag 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
You do not have permission to mark this thread as solved. Only thread creators, contributors and payload team members can mark a thread as solved.