Questions tagged [request-digest]

A request digest for security validation contains site secret, time, and user name and should be present in every page served to the client.

Filter by
Sorted by
Tagged with
0 votes
1 answer
1k views

the security validation for this page is invalid and might be corrupted. Please use your web browser's Back button to try your operation again

I am making a POST request to Sharepoint List and in that I have to add items more than 150 which takes my like 45-50 mins to add all the Line details. And once I have added I click on submit and then ...
Ninad J's user avatar
0 votes
0 answers
16 views

Getting form digest without using SOAP [duplicate]

Is there a way to get the Form Digest value without using a SOAP call? Because accessing CSOM SharePoint web services require digest value, and because the form digest request requires SOAP, we are ...
Nicholas DiPiazza's user avatar
0 votes
1 answer
1k views

Sharepoint API creating folder 403

I am new to the SharePoint API. I am trying to create folders in a customer SharePoint solution. Problem is i'm getting a 403 return. My request.: POST https://companyname.sharepoint.com/sites/Test/...
JNA's user avatar
  • 23
0 votes
0 answers
981 views

NodeRed POST request to Sharepoint REST API

I want to upload files on Sharepoint and I'm using Node Red for communicate with REST Sharepoint API. As far as I know, first of all I need to request a diggest token for the POST communication: so, ...
David B.'s user avatar
0 votes
0 answers
433 views

Update requestdigest value

I have a custom sp 2013 page with content editor webpart, js referred from site assets, I am using rest api to perform crud If I do a post request, I am passing the $("#__REQUESTDIGEST").val(...
Gokulnath K's user avatar
0 votes
1 answer
654 views

FormDigestValue empty in Sharepoint Site using PowerShell

So, I was originally trying to create an item in a Sharepoint site, but as I took a 403 as response, and searched, I needed to put the X-RequestDigest header to work. I tried to fetch it using the &...
MatheusPrates's user avatar
0 votes
1 answer
71 views

SharePoint -- GetXRequestDigest call is failing with 403

We are trying to connect Sharepoint online instance using SAML Authentication. We are trying to create site using Rest API. As we are using SAML authentication , we need to use /contextinfo to obtain ...
crk2904's user avatar
5 votes
1 answer
9k views

REST API - 403 Forbidden when trying to get FormDigest in Python

I'm working on this Python script to upload file on a SharePoint : from requests_ntlm import HttpNtlmAuth from pypac import PACSession, get_pac session = PACSession(get_pac(url='mypac.pac')) ...
Darkaird's user avatar
6 votes
4 answers
31k views

Sharepoint 2013: Rest API - does header need to include X-RequestDigest?

I'm making progress in learning to use the rest API (HTTP web service) in SPD. WF1: Acivates to a change to a list. WF1 is suppose to launch WF2 using the Rest API. Within WF1 I have the WF2 GUID ...
MaxK-2773298's user avatar
3 votes
1 answer
4k views

Setting X-RequestDigest from html page

I have html page in an app, I want to submit data to sharepoint using REST, so I don't have access to $("#__REQUESTDIGEST"). How do I get the request digest from my html page? Thanks.
David Hemsey's user avatar
3 votes
2 answers
928 views

Sharepoint authentication without CSOM, JS or 3rd party dlls

I am new to Sharepoint. I am trying to create a folder in sharepoint shared folder and this needs to work for both on-premise as well as sharepoint online. The problem that I am facing is, it works ...
Shakti Prakash Singh's user avatar
0 votes
2 answers
9k views

Issue trying to do POST Operations using REST, Error 402, 405

I am trying to do POST operations such update, create and delete items using rest and javascript. I am getting 402 Error mostly attributed this to having a wrong/corrupt requestdigest value. When I ...
Swayam Siddha's user avatar
4 votes
2 answers
2k views

Why do I have to use POST for REST queries?

I am trying to understand the logic with the SharePoint client.svc (_api) Web service. For some queries, for example List GetItems, or search queries, SharePoint requires the use of POST in ajax ...
Christophe's user avatar
  • 5,311
3 votes
2 answers
4k views

SharePoint 2010 FormDigest issue: InvalidFormDigest

I'm getting weird error with publishing pages and form digest. When publishing page is in Published state __REQUESTDIGEST hidden field value is "InvalidFormDigest". I also have Notes web part on this ...
Vadim's user avatar
  • 91