Error uploading CSV file for Jira Service Management Assets import
Platform Notice: Cloud Only - This article only applies to Atlassian products on the cloud platform.
要約
Using the CSV import feature of Jira Service Management Assets, users can encounter an error "We couldn't upload the file. Please try again." when uploading the CSV file:
診断
Capturing the network traffic from your browser, the issue will generally show a HTTP 502 Bad Gateway error when trying to upload the CSV file to https://api.media.atlassian.com
.
To capture network traffic for analysis for your browser, please see the article Generating HAR files and analyzing web requests.
The network traffic will likely show the request to upload the CSV file to the media API taking a significantly long time such as 60 seconds.
原因
The error occurs due to a timeout during the file upload. While there are no specific size constraints for the CSV file being uploaded, larger files being uploaded through a slower connection can take a while causing the timeout during the upload process.
ソリューション
Poor network connections could be caused by a number of factors. Possible solutions to consider for slower connections:
- Switch from mobile data connections to Wi-Fi
- Switch Wi-Fi connections from lower (2.4 GHz) frequencies to a higher one (5 GHz) where available
- If routing through a VPN, disable the VPN for the file upload
If the above are not options, splitting the file into smaller chunks or asking another user who is not impacted by slower connection speeds to complete the upload should be followed.