Meshery Docs ยท ๐ Extensibility & Reference
ErrInvalidImportRequestCode-1422
Component: component / meshery-server
Code: meshery-server-1422 (ErrInvalidImportRequestCode-1422)
Severity: Alert
Short description
Invalid design import request
Long description
Probable cause
- The request body did not match exactly one variant of the import oneOf โ the File variant requires `file` and `fileName`, the URL variant requires `url`.
- Both variants were provided, or neither was.
Suggested remediation
- Send a request body with exactly one variant set: either {"file": <bytes>, "fileName": "design.yml"} or {"url": "https://..."}.