When the module is configured with '1.0' as the API version value, I get a 404 response back.

GuzzleHttp\Exception\ClientException: Client error: `POST https://graph.microsoft.com/1.0/users/[...]/sendmail` resulted in a `404 Not Found` response: {"error":{"code":"ResourceNotFound","message":"Invalid version: 1.0","innerError":{"date":"2024-08-08T13:35:38","request-id":"[...]","client-request-id":"[...]"}}} in GuzzleHttp\Exception\RequestException::create() (regel 113 van /var/www/html/vendor/guzzlehttp/guzzle/src/Exception/RequestException.php).

After changing the value to 'v1.0', it works as expected.

Issue fork graph_mail-3466895

Command icon Show commands

Start within a Git clone of the project using the version control instructions.

Or, if you do not have SSH keys set up on git.drupalcode.org:

Comments

woutgg created an issue. See original summary.

avpaderno’s picture

Version: 2.0.0-alpha6 » 2.0.x-dev

avpaderno’s picture

Status: Active » Needs review

  • avpaderno committed 6b42c28b on 2.0.x
    Issue #3466895: Suggested (and default) value for API version '1.0'...
avpaderno’s picture

Version: 2.0.x-dev » 1.0.x-dev

  • avpaderno committed 2cb88160 on 1.0.x
    Issue #3466895: Suggested (and default) value for API version '1.0'...
avpaderno’s picture

Status: Needs review » Fixed

Status: Fixed » Closed (fixed)

Automatically closed - issue fixed for 2 weeks with no activity.