http status code 403 - Google Webmaster API - Mark crawlerros as fixed -


while marking crawl-errors fixed via api, got 403 error „insufficient permission“. if read erros via api, got no errors. i’m owner of site , logged google webmaster credentials. i've created api creditals developer console , i'm using oauth. there configuration disallow writing via api?

i've found similar question on stackoverflow: google analytics reports api - insufficient permission 403 cant find view-id

i've found solution. set scope webmastersservice.scope.webmasters instead of webmastersservice.scope.webmastersreadonly

string[] scopes = { webmastersservice.scope.webmasters };              usercredential credential = googlewebauthorizationbroker.authorizeasync(new clientsecrets { clientid = "clientid", clientsecret = "clientsecret" }                , scopes                , "my name"                , cancellationtoken.none).result; 

Comments

Popular posts from this blog

powershell Start-Process exit code -1073741502 when used with Credential from a windows service environment -

twig - Using Twigbridge in a Laravel 5.1 Package -

c# - LINQ join Entities from HashSet's, Join vs Dictionary vs HashSet performance -