Fatal Error If Not Authenticated

Created on 11 August 2022, over 2 years ago
Updated 27 August 2024, 3 months ago

If a user's credentials are not added and they attempt to save a dam media item there is a fatal error.

Drupal\Core\Entity\EntityStorageException: Client error: `GET https://api.widencollective.com/v2/assets/abdf0d8a-cd32-4128-ae6f-c16237d2566d?expand=file_properties%2Cmetadata%2Cembeds%2Csecurity` resulted in a `401 NOT AUTHORIZED` response in Drupal\Core\Entity\Sql\SqlContentEntityStorage->save() (line 811 of core/lib/Drupal/Core/Entity/Sql/SqlContentEntityStorage.php).

This should be caught and a message set telling the user to set up authentication.

πŸ› Bug report
Status

Fixed

Version

2.0

Component

Code

Created by

πŸ‡ΊπŸ‡ΈUnited States damondt

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

Merge Requests

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