Occasional Contributor

I am trying to use Graph API to invite user to a folder that is hosted in SharePoint Online. I am using following API:




When my folder that I am attempting to share is located under "Root" of document library no problem this works fine, but if my folder is located under "root/General" (because I want to be visible in teams easily API Returns error below. Any ideas?


 "error": { 
 "code": "invalidRequest",
 "message": "The request is malformed or incorrect.",
  "innerError": {
   "request-id": "{id}",
   "date": "{date}"