Forums - C# Corner

Forum guidelines
Vikas Kumar

Vikas Kumar

  • 1.7k
  • 4
  • 60

i am getting 403 error

Nov 16 2018 5:48 AM
POST https://msritcom.sharepoint.com/_api/web/GetFolderByServerRelativeUrl('/Shared%20Documents/krishna')/Files/Add(url='TA0362.jpg',overwrite=true) HTTP/1.1
HttpResponseProxy{HTTP/1.1 403 Forbidden [Cache-Control: private, max-age=0, Transfer-Encoding: chunked, Content-Type: application/json;odata=verbose;charset=utf-8, Expires: Thu, 01 Nov 2018 10:45:54 GMT, Last-Modified: Fri, 16 Nov 2018 11:45:54 GMT, P3P: CP="ALL IND DSP COR ADM CONo CUR CUSo IVAo IVDo PSA PSD TAI TELo OUR SAMo CNT COM INT NAV ONL PHY PRE PUR UNI", Set-Cookie: SPWorkLoadAttribution=Url=https://msritcom.sharepoint.com/_api/web/GetFolderByServerRelativeUrl('/Shared%20Documents/krishna')/Files/Add(url='TA0362.jpg',overwrite=true)&AppId=E0D3C05D-9133-40D1-8413-1C4522A4E7C2; expires=Fri, 16-Nov-2018 11:46:24 GMT; path=/, X-SharePointHealthScore: 0, X-MSDAVEXT_Error: 917656; Access+denied.+Before+opening+files+in+this+location%2c+you+must+first+browse+to+the+web+site+and+select+the+option+to+login+automatically., X-SP-SERVERSTATE: ReadOnly=0, DATASERVICEVERSION: 3.0, SPClientServiceRequestDuration: 36, X-AspNet-Version: 4.0.30319, SPRequestGuid: 45e8a29e-a03d-0000-1488-6c6584409218, request-id: 45e8a29e-a03d-0000-1488-6c6584409218, MS-CV: nqLoRT2gAAAUiGxlhECSGA.0, Strict-Transport-Security: max-age=31536000, X-FRAME-OPTIONS: SAMEORIGIN, X-Powered-By: ASP.NET, MicrosoftSharePointTeamServices: 16.0.0.8307, X-Content-Type-Options: nosniff, X-MS-InvokeApp: 1; RequireReadOnly, X-MSEdge-Ref: Ref A: 7B1AE33CD0CD4DC780BF311332C3B7A7 Ref B: BOM01EDGE0122 Ref C: 2018-11-16T11:45:54Z, Date: Fri, 16 Nov 2018 11:45:54 GMT]}
403
 
This is above error i am getting can please help me out to resolving this issue.
 
Thanks
Vikas Kumar

Answers (1)