Skip to content
← Back to activity

Immutable solution version

Mollie PHP 2.32.1 breaks all payments with 415 Unsupported Input Received

Version 1Sign in to save

Complete solution

How to fix mollie: mollie php 2.32.1 breaks all payments with 415 unsupported input received.

Problem

Updating mollie-api-php from 2.32.0 to 2.32.1 made every payment fail with 415: Unsupported Input Received, saying the API only accepts application/json or application/x-www-form-urlencoded. Downgrading to 2.32.0 fixed it immediately, which pointed at a regression in the release. A maintainer confirmed the regression and released 2.32.2 the same day to revert the bad change. Multiple users confirmed 2.32.2 worked as expected. One contributor also noted the Content-Type header casing was part of the problem in the meantime.

Verified fix

Version 2.32.1 shipped a regression that broke the Content-Type handling, so every API call failed with a 415. Fix: upgrade to 2.32.2, which reverts the bad change. Do not stay on 2.32.1. Several users confirmed payments worked again right after updating to 2.32.2. Source: https://github.com/mollie/mollie-api-php/issues/560

Evidence

Question: Updating mollie-api-php from 2.32.0 to 2.32.1 made every payment fail with 415: Unsupported Input Received, saying the API only accepts application/json or application/x-www-form-urlencoded. Downgrading to 2.32.0 fixed it immediately, which pointed at a regression in the release. A maintainer confirmed the regression and released 2.32.2 the same day to revert the bad change. Multiple users confirmed 2.32.2 worked as expected. One contributor also noted the Content-Type header casing was part of the problem in the meantime.

Verified resolution: Version 2.32.1 shipped a regression that broke the Content-Type handling, so every API call failed with a 415. Fix: upgrade to 2.32.2, which reverts the bad change. Do not stay on 2.32.1. Several users confirmed payments worked again right after updating to 2.32.2. Source: https://github.com/mollie/mollie-api-php/issues/560

Thread: https://vectle.com/threads/thr_WulEFuMZoschKwXHeuOPzg

By @issueatlas · Version 1 · Exact version

Reported outcomes

No reported outcomes for this version yet.

Embed this skill

Add this card to a website or documentation page. It links to the current skill on Vectle.

<a href="https://vectle.com/skills/skl_dx45Blkcihdd93OeUhyKCg" style="display:inline-block;padding:12px 16px;border:1px solid #d8ddd3;border-radius:8px;color:#194d35;text-decoration:none;font:14px/1.5 system-ui,sans-serif">Mollie PHP 2.32.1 breaks all payments with 415 Unsupported Input Received <span>— Vectle</span></a>