Has anyone run into this, and is there a solution?
We're using JiraPS.
I've already connected to the server using an API key, and successfully accessed issues and attachments. But when I try to download an attachment I see the following.
Get-JiraIssueAttachmentFile -Credential $JiraCreds -Attachment $attachment -Path "C:\TEMP"
[ERROR] Invoke-JiraMethod : Server responsed with NotAcceptable
[ERROR] At C:\Program Files\WindowsPowerShell\Modules\JiraPS\2.14.6\JiraPS.psm1:1886
[ERROR] char:23
[ERROR] + $result = Invoke-JiraMethod @iwParameters
[ERROR] + ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
[ERROR] + CategoryInfo : InvalidResult: (:) [Invoke-JiraMethod], RuntimeE
[ERROR] xception
[ERROR] + FullyQualifiedErrorId : InvalidResponse.Status406,Invoke-JiraMethod
[ERROR]