We have a proprietary tool that allows users to create bugs and adds a bunch of information about the state of their client at the time the bug was encountered. It also allows them to attach screenshots/videos. One user has reported intermittent failures uploading videos, I can very intermittently repro the error in question.
Got error while saving attachment: Got exception while saving attachment in attachment store. Exception: com.atlassian.jira.issue.attachment.store.media.MediaApiStreamAttachmentStore$FailureMediaApiResponseException: [AttachmentUploadFailure] Could not upload attachment
Failure: Failure{cause=org.apache.http.client.ClientProtocolException, reason=TRANSPORT_ERROR, retryAfter=null, message='null', httpStatusCode=null} caused by: [AttachmentUploadFailure] Could not upload attachment
The file isn't too large as it can be manually drag/dropped onto a bug and uploads successfully. Furthermore retrying an upload from our tool can sometimes happen to work so it doesn't appear to be a case of our http request being malformed.
Is there any mechanism for getting more useful information about the server error we're encountering? I can't seem to find any information about the FailureMediaApiResponseException in the API docs.