Thing changed edited via code get lost

I run OH3 and try to edit a thing created via http binding.

I created the thing and added two channels via UI, which works fine.
The thing looks like this:

UID: http:url:2392a187f2
label: Kostal Inverter Thing1
thingTypeUID: http:url
  ignoreSSLErrors: false
  password: PasswordRemoved
  refresh: 60
  commandMethod: GET
  timeout: 3000
  username: admin
  bufferSize: 2048
  - id: TotalDcInput
    channelTypeUID: http:number
    label: Total DC Input
    description: ""
      stateTransformation: JSONPATH:$.dxsEntries[0].value
  - id: OutputPower
    channelTypeUID: http:number
    label: Output Power
    description: ""
      stateTransformation: JSONPATH:$.dxsEntries[1].value

Now I want to add additonal channels via code for all the other dxsEntries. I can do this and the editor does also show the new channels, but the change made in code tab does not get saved. I explicitly press the save in the upper right corner, but when I leave the thing editor and reopen it, all my additional channels are gone and I only see the 2 channels created via UI.

How can I save the changes made in the code tab?

Nevermind, I had an illegal character in the id of an added channel :face_with_raised_eyebrow: