You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
This repository has been archived by the owner on Jan 18, 2021. It is now read-only.
I'm using the SpRestLib in Node and was unable to make sprLib.folder().add() work, I always got the error message "The security validation for this page is invalid. Click Back in your Web browser, refresh the page, and try your operation again.".
When I do the call manually via sprLib.rest({ type: "POST", url: vURL, requestDigest: token, metadata: false })
It does work, it seems that SharePoint expects the requestDigest for folder add operations as well.
The text was updated successfully, but these errors were encountered:
Hi,
I'm using the SpRestLib in Node and was unable to make sprLib.folder().add() work, I always got the error message "The security validation for this page is invalid. Click Back in your Web browser, refresh the page, and try your operation again.".
When I do the call manually via
sprLib.rest({ type: "POST", url: vURL, requestDigest: token, metadata: false })
It does work, it seems that SharePoint expects the requestDigest for folder add operations as well.
The text was updated successfully, but these errors were encountered: