可以读取 google sheet,但无法更新

Can read from google sheet, but can't update it

我正在使用 google 工作表 api 4 我可以从工作表中读取,但是当我尝试更新时出现错误

You are trying to edit a protected cell or object. Please contact the spreadsheet owner to remove protection if you need to edit. [400]

我正在创建这样的服务:

return new SheetsService(
       new BaseClientService.Initializer()
       {
          HttpClientInitializer = GoogleCredential
          .FromStream(stream)
          .CreateScoped(scopes)
          .UnderlyingCredential as ServiceAccountCredential
       });

范围是:

private readonly string[] scopes =
    {
        SheetsService.Scope.Spreadsheets,
        SheetsService.Scope.DriveReadonly
    };

我是不是漏掉了什么?

正如@Cleptus 所说,我的 sheet 中的单元格受到保护,与 API 无关,要解决此问题,请检查 link