We developed a video upload to YouTube several years ago (2013) that stopped working with a misleading error message, since the quota is not the issue, see error message: