Simplify your stack and build anything. Or everything.
Build tomorrow’s web with a modern solution you truly own.
Code-based nature means you can build on top of it to power anything.
It’s time to take back your content infrastructure.

I can't access the admin dashboard after deployment

discord user avatar
denolfe
2 years ago
7

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

  • default discord avatar
    mohamedhegazy_961802 years ago

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

  • discord user avatar
    denolfe
    2 years ago

    Does this happen when you run it locally?

  • default discord avatar
    mohamedhegazy_961802 years ago
  • default discord avatar
    .smalltalkman2 years ago

    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

  • default discord avatar
    mohamedhegazy_961802 years ago
    @967118574445547650

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

  • discord user avatar
    denolfe
    2 years ago
    @1233748701529247805

    Was this to me ?

  • default discord avatar
    mohamedhegazy_961802 years ago

    Sorry my friend I was answering this



    @967118574445547650

    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 on GitHub

Star

Chat on Discord

Discord

online

Can't find what you're looking for?

Get dedicated engineering support directly from the Payload team.