The QEM website allows the manual import of a task with one defined endpoint in the databases section. The API requires both endpoints to be defined, as such it is not able to import a task with only one endpoint defined.
I would consider this a bug, as both methods should be consistent.
This request is align the functionality of the QEM website and API clients, such that an import works for both manual and automation.