Graph API with Large Attachment Problem
I am attempting to send an EMail via the O365 Graph API with a large attachment. I am doing this from Access VBA. I have created an upload session and am attempting to upload the attachment in chunks with successive PUTs, but I get an error message. I am sending this command:
PUT httpx://graph.microsoft.com/v1.0/me/messages/AAMkADli…(shortened for posting)/attachments/Onboarding_Guide_v12.pdf/createUploadSession
And I receive this error response:
{“error”:{“code”:”BadRequest”,”message”:”Resource not found for the segment ‘createUploadSession’.”,…
Any idea what is wrong with my PUT statement?
Jim
I am attempting to send an EMail via the O365 Graph API with a large attachment. I am doing this from Access VBA. I have created an upload session and am attempting to upload the attachment in chunks with successive PUTs, but I get an error message. I am sending this command: PUT httpx://graph.microsoft.com/v1.0/me/messages/AAMkADli…(shortened for posting)/attachments/Onboarding_Guide_v12.pdf/createUploadSession And I receive this error response:{“error”:{“code”:”BadRequest”,”message”:”Resource not found for the segment ‘createUploadSession’.”,… Any idea what is wrong with my PUT statement? Jim Read More