Currently Im missing many possibilities in the current connector, so I wanted to use that data connection in code repositories, but Im facing the issue:
It looks like you have a REST API source with multiple domains configured, is that the case?
If so, this isn’t supported for imports into code, so you should go back to data connection and split those into separate source types. Note that you can import multiple sources into your code, so if you need multiple domains from the same transformation this should be fine as long as they are configured as independent sources.
This is an example REST API source configuration that would produce the error you’re seeing when imported to code.
Alternatively, you can now just create a “generic” source for use in code only directly from data connection. This will allow you to just add network egress and credentials directly in the sidebar to set up your connection. This can be done using the button shown below: