server-application
server-application copied to clipboard
The give data failed to pass validation
After login (or every page refresh), I've getting the error below.
Also please provide Nginx Server block.
This error seems to be related to the time zone in the filter:
Apparently cattr does not store the time zone configured in the company America/Mexico_City (GMT-06:00) in my case and set the default time zone etc/GMT+06:00
Apparently cattr does not store the time zone configured in the company America/Mexico_City (GMT-06:00) in my case and set the default time zone etc/GMT+06:00
When I select my time zone the error goes away.
Unfortunately, it is not working. Am I missing something?
Ok, I made a video to show what happens: https://youtu.be/srvUc4aSr3Y
Steps to reproduce the error:
1.- I enter the cattr administrator username and password.
2.- When entering correctly I receive the error message: /api/report/dashboard:1 Failed to load resource: the server responded with a status of 422 (Unprocessable Content)
And response:
{"status":422,"success":false,"error":{"code":"validation_failed","message":"The given data failed to pass validation.","fields":{"user_timezone":["The user timezone must be a valid zone."]}}}
In web page I get this notification:
Additionally, I note another detail:
- The administrator user menu does not show the Company Settings option.
- After refreshing the page (F5), the administrator menu shows the option Company Settings.
I think this error is related to the user's time zone:
Since the time zone that is displayed after logging in does not correspond to the time zone that the administrator user has configured
When I select the correct time zone from the dashboard, the error goes away
The link to the "Team" page is not displayed
After refreshing the page, the link to the "Team" page appears
I hope this can help to solve this problem more easily.
Thank you for the video but it is not working. Need to re-setup or something else.