E0518 Operation the typed client cannot call as described
Words in italics are filled in when the compiler reports it, such as the element's name or the list of known ones.
Why
The typed client sends path parameters, query members, headers and JSON bodies, and reads JSON or text answers (decision 0109). An operation it could not call the way the description says is refused rather than dropped or loosened: a cookie parameter (browsers drop a Cookie header a script sets), a name in the path that no parameter declares (it would be sent as it is), a path parameter the path does not have, a body that is not JSON (multipart/form-data or form-urlencoded), an answer that is neither JSON nor text, an operation whose only answer is default (usually the error), and trace, which browsers refuse to send.
How to fix it
Change the description to what the server takes: declare every path parameter, describe bodies as application/json, name the success answer by status, such as "200". Send a cookie, form or multipart request with fetch instead.
In a terminal
duolith explain E0518