Trying to add JS component, fails with 422 response

Created on 3 June 2025, 4 days ago

Overview

Trying to add a JS component, when adding it by using the "Add to components" button on the top right corner, everything works okay. In the case when trying to add from the Library tab "Code" region, it fails and the internal API returns a 422 response. Request payload seems to be missing the "imported_js_components" value.

Steps to reproduce:

  1. Create a new JS component
  2. When it is ready to be used, try to add it by clicking on the left Library menu, Code section, click on the hamburger menu and click "Add to components"
  3. Click Add on the modal and see the error

[#inline-image:Add components.png]
[#inline-image:UI error.png]
[#inline-image:Request error.png]

🐛 Bug report
Status

Active

Version

0.0

Component

Internal HTTP API

Created by

🇭🇺Hungary attilatilman

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

Merge Requests

Comments & Activities

Production build 0.71.5 2024