Drupal\Core\Entity\EntityStorageException on saving a node with Mediaflow media attached

Created on 6 February 2025, 24 days ago

Problem/Motivation

After adding a media to the site using Mediaflow form I was trying to use that media on the node and got an error on node save.

Drupal\Core\Entity\EntityStorageException: Client error: `POST https://customerapi.mediaflowpro.com/1/files/multiple/usages?id=2939350&...` resulted in a `400 Bad Request` response: {"status":400,"error":"400-0000","errorMessage":"Invalid JSON data","detailedErrors":null} in Drupal\Core\Entity\Sql\SqlContentEntityStorage->save() (line 817 of core/lib/Drupal/Core/Entity/Sql/SqlContentEntityStorage.php).

Steps to reproduce

Proposed resolution

Remaining tasks

User interface changes

API changes

Data model changes

🐛 Bug report
Status

Active

Version

1.0

Component

Code

Created by

🇵🇱Poland zambrey

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

Comments & Activities

Production build 0.71.5 2024