SDK sending empty message even though message object is initialized #3181
Unanswered
BobAmmerman
asked this question in
Q&A
Replies: 0 comments
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
I have an application that uses the GraphAPI SDK version 6.70 to send emails. On occasion I have seen a 400 error claiming that there were no valid recipients in the email. This is reinforced by the fact that logging the raw HTTP request shows an empty message. However, I am logging the contents of the Message object before and after sending, and in both cases it is properly initialized including a TO recipient, subject and body. Retrying using the same message object fails again with another 400. However, if I create a new message object and send that it usually succeeds. Any ideas?
All reactions