It seems a fix is in progress fix: Replace file_manager api with file doc api by netchampfaris · Pull Request #6595 · frappe/frappe · GitHub