Error: “Unauthorized” sounds quite self explanatory so there gotta be logs in nextcloud about authorization issues
im sorry. i have not found any entry in my nextcloud logs. But im also not sure if i looked in the right place… Do you mean the logs in setting → admin → logging ?