-
-
Notifications
You must be signed in to change notification settings - Fork 9.2k
Description
Node Version
20.19.1
NPM/Yarn/PNPM Version
Yarn 1.22.22
Strapi Version
5.30.0
Operating System
MacOS
Database
MySQL
Javascript or Typescript
Typescript
Reproduction URL
No response
Bug Description
I don't know if it is a bug or normal behavior. Or maybe I just need to increase session time in Strapi config.
Let's say, I open a collection in Content Manager with lots of fields. It took a time for me to fill all fields (page was not refreshed during this time). Then I try to upload an image throw media field. And it returns an error (network tab show 401 status - unauthorized). Please, check image for more details.
However when I refresh a page, I can continue my work from the place I left. Media in this case works again.
Steps to Reproduce
- Create collection with media field and open it in Content Manager
- Leave browser to be opened in background (without refresh) for a while (up to 30-60 min.)
- Try to upload media
Expected Behavior
Like I said, I don't know if it is a bug, but in some case in can confuse administrators. Maybe there any solutions?
For example, information modal with info, that your session is going to expire.
Logs
Code Snippets
No response
Media
No response
Additional information
No response
Confirmation Checklist
- I have checked the existing issues for duplicates.
- I agree to follow this project's Code of Conduct.