Getting 403 error
As the title said itself, I'm getting 403 in non-local environment. I already added
canAccessFilament()
in my user model, but I slightly modify it so that it can accommodate filament shield.
What went wrong?5 Replies
Is this only on filament routes? As this is a server error not a Laravel error
This is an nginx 403 error, not related to filament
Does nginx and filament give different 403 error?
Yes, all of my projects are filament routes
I just pushed a changes to my repo and it is all working fine, now it gives me this. So my first thought that It was related to
canAccessFilament
Filament should return one in the look of Laravel.
You can add a non filament route and see whether it works. Maybe also return a
abort(400)
to see how the Laravel errors look on that system.I might try this, thank you for the tip
And, it is a server issue. Sadly the service don't allow debugging since the port is already used by the deployment itself. Thank you for the help