"POST https://graph.microsoft.com/v1.0/users/<emaiil user>/sendmail" resulted in a 400 Bad Request

Created on 17 November 2022, almost 2 years ago
Updated 24 January 2024, 10 months ago

Using Graph Mail as the formatter in the mail system throws this exception.

GuzzleHttp\Exception\ClientException: Client error: POST https://graph.microsoft.com/v1.0/users/<emaiil user>/sendmail resulted in a 400 Bad Request.
Response: {"error":{"code":"RequestBodyRead","message":"An unexpected 'StartArray' node was found when reading from the JSON reader. A 'PrimitiveValue' node was expected."}} in GuzzleHttp\Exception\RequestException::create() (line 113 of vendor/guzzlehttp/guzzle/src/Exception/RequestException.php).

This issue has been reported by spalmstrom on 🐛 Graph Mail fails with error code 500 Closed: outdated . I split the issue in two, since it was reporting two different bugs.

🐛 Bug report
Status

Active

Version

1.0

Component

Code

Created by

🇮🇹Italy apaderno Brescia, 🇮🇹

Live updates comments and jobs are added and updated live.
Sign in to follow issues

Comments & Activities

Not all content is available!

It's likely this issue predates Contrib.social: some issue and comment data are missing.

Production build 0.71.5 2024