GET /upload/files or any GET from content-types always returns 401. #20244
Labels
flag: invalid template
Automation Flag to handle invalid bug report templates
flag: question
Automation Flag to handle community questions
Bug report
Required System information
Describe the bug
I am developing my own plugin and i need access to the admin content-types and the files in the Media Library.
While using the useFetchClient, and properly setting the authorization token as the one in the local storage, any request to the content types or the media library return 401 (Unauthorized).
This issue happens even when the find and findOne are allowed for public access (and through the browser, i am able to acess that data).
Code snippets
Thanks in advance for the help
The text was updated successfully, but these errors were encountered: