-
Type:
Bug
-
Resolution: Duplicate
-
Priority:
Low
-
Component/s: Page - Content APIs
-
None
-
Severity 3 - Minor
Issue Summary
The Confluence Cloud attachment APIs (both v1 and v2) continue returning downloadLink URLs that no longer work and instead return HTTP Status 401 – Unauthorized.
Affected APIs:
The returned download links are in the following format:
https://<site>.atlassian.net/wiki/download/attachments/<page-id>/<attachment-name>?api=v2
This behavior appears related to the deprecation/change announced in CHANGE-3007, however the APIs still return these non-functional links in the response payload, which is causing confusion for customers and breaking integrations.
Steps to Reproduce
- Step 1: Call either the v1 or v2 attachment API.
- Step 2: Copy the downloadLink returned in the response.
- Step 3: Open the link using authenticated access.
Expected Results
The API should return a valid downloadable URL or stop returning deprecated/non-functional links.
Actual Results
The returned download URL fails with:
HTTP Status 401 – Unauthorized
Workaround
The following endpoint should be used as mentioned in CHANGE-3007:
GET /wiki/rest/api/content/{id}/child/attachment/{attachmentId}/download
Documentation here.
- is duplicated by
-
CONFCLOUD-84433 Attachments fails to download using the download link that we get from "Get attachments for page" API, 401 error occurs
-
- Closed
-