No subresource for path attachements error
When I try add attachment to issue by using this command
curl -X POST -v -i -F "upload=@d:/test_image.png" -H "Authorization: Bearer perm:xxx...xxx" -H "Content-Type: multipart/form-data" https://xxx.youtrack.cloud/api/issues/TS-2/attachements?fields=id,name
I get this error
{"error":"Not Found","error_description":"No subresource for path attachements"}
What does it mean?
Btw should it be "attachments", not "attachements"?
Please sign in to leave a comment.
I found it <face palm> is a typo in url should be https://xxx.youtrack.cloud/api/issues/TS-2/attachments
Tomasz Klin it happens :) Glad to know that you've found the typo!