function readOnly(count){ }
Starting November 20, the site will be set to read-only. On December 4, 2023,
forum discussions will move to the Trailblazer Community.
+ Start a Discussion
SFDave_126SFDave_126 

Issue converting file object types to String format from an incoming OneDrive REST API call

I'm trying to pull a file object-type from O365 via the Graph API and I'm getting back a return-type that is pretty atypical to the normal JSON return format I'd expect to see. I'm not sure if it's an issue on the Microsoft or Salesforce side. I can't seem to pull any additional information or attributes about the object type itself other than the filename but I do need to change it from an HTTPResponse object to an Apex string before I can do any additional parsing in Salesforce. I can show the snippets of the Apex code I have so far if that would help explain things better.