SharePoint / sp-dev-docs

SharePoint & Viva Connections Developer Documentation
https://docs.microsoft.com/en-us/sharepoint/dev/
Creative Commons Attribution 4.0 International
1.25k stars 1.01k forks source link

CSOM Error requesting RecycleBin items with type Web #8846

Open TomBombardil opened 1 year ago

TomBombardil commented 1 year ago

Target SharePoint environment

SharePoint Server 2016 (on-premise)

What SharePoint development model, framework, SDK or API is this about?

SharePoint Add-ins

Developer environment

Windows

What browser(s) / client(s) have you tested

Additional environment details

No response

Describe the bug / error

Loading the RecycleBin still causes the Erroro mentioned in this closed Issue -> #3557

Steps to reproduce

var site = ctx.Site; ctx.Load(site);

var siteRecycleBin = site.RecycleBin; ctx.Load(siteRecycleBin); ctx.ExecuteQuery(); // <- throws

Expected behavior

Should not throw

ghost commented 1 year ago

Thank you for reporting this issue. We will be triaging your incoming issue as soon as possible.