Error when trying to remove code component from library

Created on 13 January 2026, 18 days ago

When attempting to remove a JS component from the library, the following error is shown :

UI message:

Failed to remove from components An error (HTTP PARSING_ERROR) occurred while removing from components. Please check the browser console for more details.

Console error:

error: "SyntaxError: Unexpected token '<', \" is not valid JSON"

originalStatus: 404
status: "PARSING_ERROR"
data: "\n

Steps to Reproduce:

Note this only happens when trying to remove the component from the "library" panel. It works when doing it from the "Code" panel.

  1. Create a JS component.
  2. Add it to the library.
  3. Attempt to remove the JS component from the "Library" panel by clicking on "Remove from components".
  4. Observe that the error message appears, and check the console for the parsing and 404 errors.
🐛 Bug report
Status

RTBC

Version

1.0

Component

User interface

Created by

🇭🇺Hungary attilatilman

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.

No activities found.

Production build 0.71.5 2024