#Unexpected 403 error

10 messages · Page 1 of 1 (latest)

tardy raft
#

Hello to all Directus lovers,
I have encountered a strange error. When I'm logged in as admin user on my nextJs app I can't access an item unless I allow public permission on that item... I am using nextJs with getStaticProps and getStaticPath but I have never had this problem before. Does anyone have any idea about this?

vast irisBOT
#

Thanks for posting! This is a community powered server, so you may or may not get an answer based on available help and expertise. To increase your chances of somebody being able to help you, please make sure your question includes the following:

  • An explanation of exactly what you're trying to achieve.
  • Any and all related code or previous attempts.
  • The exact issue or error you are facing.
  • Any screenshots if applicable.

When you're done with this thread, please close it.

(If you have a support agreement and need help, please contact the core team via email.)

tardy raft
#

I Think the problem here is that I'm not on the client... But 🤷🏻‍♂️

golden light
tardy raft
#

If you are talking about role and authorization I just have all public read activated beacause I can't act another way in this project.

#

The customer have this settings but I use the admin user

#

and even with this it's sometimes impossible

#

even when i'm not in getStaticProps or getStaticPath

#

I don't understand 🤷🏻‍♂️