#I can't access the admin dashboard after deployment

14 messages · Page 1 of 1 (latest)

boreal folioBOT
safe stag
#

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
valid aurora
# safe stag Not quite enough information to help you out. - Deploying where and how? - "Can'...

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))

safe stag
#

Does this happen when you run it locally?

valid aurora
boreal folioBOT
kindred sierra
#

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

valid aurora
#

@safe stag Create a separate collection named Tags and establish a relationship with other collections by referencing it.

safe stag
#

@valid aurora Was this to me ?

valid aurora
#

@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

boreal folioBOT
#

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.