Create custom pre-configured service task into the elements palette

We Integrated the BPMNJS with Angular 15.
we followed the link

and created the custom element in Palette/Context Pad in Web Modeler.
For Rest connector we followed the steps mentioned in

But we are facing bpmn:ExtensionElements error