Request had insufficient authentication scopes [403] when update cell spreadsheet
<p>In Google Developer Consol the Sheet API is enabled. I am using the same key I use to access spreadsheet.When I read data all work fine. I get a Request had insufficient authentication scopes error on the requestUp.Execute().</p>

<pre><code>using System;
using System.Collections.Generic;
using Google.Apis.Auth.OAuth2;
using Google.Apis.Sheets.v4.Data;
using Google.Apis.Services;
using Google.Apis.Util.Store;
using Google.Apis.Sheets.v4;
using System.IO;
using System.Threading;


namespace SpreadSheetTest
{
    class Program
    {
        static string[] Scopes = { SheetsService.Scope.Spreadsheets };
        static string ApplicationName = "Google Sheets API .NET Quickstart";
        static void Main(string[] args)
        {
            UserCredential credential;

            using (var stream =
                 new FileStream("client_secret.json", FileMode.Open, FileAccess.Read))
            {
                string credPath = System.Environment.GetFolderPath(
                    System.Environment.SpecialFolder.Personal);
                credPath = Path.Combine(credPath, ".credentials/sheets.googleapis.com-dotnet-quickstart.json");

                credential = GoogleWebAuthorizationBroker.AuthorizeAsync(
                    GoogleClientSecrets.Load(stream).Secrets,
                Scopes,
                "user",
                CancellationToken.None,
                new FileDataStore(credPath, true)).Result;
                Console.WriteLine("Credential file saved to: " + credPath);

            }
            // Create Google Sheets API service.
            var service = new SheetsService(new BaseClientService.Initializer()
            {
                HttpClientInitializer = credential,
                ApplicationName = ApplicationName,
            });

            // Define request parameters.
            String spreadsheetId = "165WwBrowehv2FGzt3xUjAkyKeU2IKdQzQZ9gyaGNzV0";
            String range = "sheet1!A2:E2";
            SpreadsheetsResource.ValuesResource.GetRequest request =
                    service.Spreadsheets.Values.Get(spreadsheetId, range);


            ValueRange response = request.Execute();



            BatchUpdateValuesRequest body = new BatchUpdateValuesRequest();
            List&lt;ValueRange&gt; rangev = new List&lt;ValueRange&gt;();
            ValueRange vv = new ValueRange();
            vv.Range = "sheet1!A2:E2";
            IList&lt;IList&lt;object&gt;&gt; values = new List&lt;IList&lt;object&gt;&gt;();
            List&lt;object&gt; child = new List&lt;object&gt;();
            for (int i = 0; i &lt; 5; i++)
            {
                child.Add(i);
            }
            values.Add(child);
            vv.Values = values;
            rangev.Add(vv);
            body.Data = rangev;

            SpreadsheetsResource.ValuesResource.BatchUpdateRequest requestUp =
                    service.Spreadsheets.Values.BatchUpdate(body, spreadsheetId);
            var result = requestUp.Execute();
        }
    }
}
</code></pre>