Show third party message on oEmbed resource exception

Created on 7 December 2020, over 4 years ago
Updated 25 May 2023, almost 2 years ago

Problem/Motivation

When an oEmbed resource is fetched this message is shown:
"The provided URL does not represent a valid oEmbed resource."
This information is usually not enough to figure out the problem without looking at the logs.

Steps to reproduce

Attempt to save an entity that holds a Facebook video without an OAuth token.

Proposed resolution

A better message might be a message that not only explains what happened in the Drupal context but also what happened in the third-party context, and that information is sent in the message included in the response to the fetch request.

Feature request
Status

Active

Version

9.5

Component
Media 

Last updated 33 minutes ago

Created by

🇪🇨Ecuador betoaveiga Daule, Guayas

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