Mailjet error from API

Created on 12 July 2023, 12 months ago
Updated 20 July 2023, 11 months ago

Problem/Motivation

We have used Mailjet successfully for years now to sync email addresses of registered users.

The current alpha2 version installed stopped syncing contacts. The dev-version (b06e5c3dbd01b3ca362727ad33aea5e93830826c to be exact) has the same issue.

I noticed that when trying to add credentials /admin/config/system/mailjet/api form handles the API connection I get "ERROR 500". So that's definitely a hint, because the credentials correct, because sending emails works with the same credentials.

In addition to that we get zero error messages in the logs.

Current stack:
Drupal 9.5.10
PHP 8.1.20 (memory limit: 2048)
Apache/2.4.52
MariaDB 10.6.12
Guzzle: 6.5.8

Steps to reproduce

  1. $ composer require drupal/mailjet:3.0.x-dev
  2. Enable module
  3. Try to fill the credentials in: /admin/config/system/mailjet/api

Proposed resolution

Remaining tasks

User interface changes

API changes

Data model changes

πŸ› Bug report
Status

Active

Version

3.0

Component

Code

Created by

πŸ‡©πŸ‡ͺGermany TipiT Hamburg

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

Comments & Activities

  • Issue created by @TipiT
  • πŸ‡©πŸ‡ͺGermany TipiT Hamburg

    I got a response from the Mailjet technical support:

    "The 404s are occurring because you are attempting to interact with resources/objects that do not exist.

    The 400s are seemingly exclusively being generated via POST calls to /v3/REST/contactmetadata, the 404s I saw were being made to /v3/REST/contactslist/Array/ManageContact, which is not a resource I am aware exists on Mailjet's side.

    You can find all of the available resources together with examples here: https://dev.mailjet.com/email/reference/"

    Anyone idea what is happening here or how to fix that?

Production build 0.69.0 2024