I'm using Java and newest Graph API 6.11, but can't get MIME message returned
Hi all,
We have just upgraded our Graph API from 5.49.0, to the newest version 6.11.0. I'm now having issues with getting the content or message in MIME format. Before the upgrade it worked fine, but after upgrading it just returns an empty stream.
This is how the request looked for us in 5.49.0:
graphClient.users(mailBox).messages(emailId).content().buildRequest().get();
And now in 6.11.0 it looks like this:
graphClient.users().byUserId(mailBox).messages().byMessageId(emailId).content().get();
The version in 6.11.0 just returns an empty GzipSource
which I tried to decompress but the result is the same.
If I use HttpClient
to make a "manual" request to the API and append the $value
to the message request, it returns the InputStream
correctly.
Is this a bug or am I doing something wrong?
Thanks!