-
Type:
Bug
-
Resolution: Fixed
-
Priority:
Low
-
Component/s: Page - Content
-
Minor
Issue Summary
When using a curl command to call contentbody/convert/{to} with an incorrect storage format, instead of throwing an error the API times out.
Steps to Reproduce
- Call the below curl command:
curl --location --request POST 'https://instance-name.atlassian.net/wiki/rest/api/contentbody/convert/view?contentIdContext=${pageId}&expand=body,webresource.superbatch.metatags,webresource.superbatch.tags.all,webresource.tags.all'\''&spaceKeyContext=${spaceKey}' \ 2--header 'Authorization: Basic ${APIKEY}' \ 3--header 'Content-Type: application/json' \ 4--data-raw '{ 5"representation": "storage", 6"value": "<ac:link><ri:attachment ri:filename='\''kathryn-health-story summary report 11-28.ods'\''><ac:plain-text-link-body></ac:plain-text-link-body></ri:attachment></ac:link></p>" 7}'
Expected Results
An error is thrown immediately.
Actual Results
The request eventually times out.
Workaround
Currently there is no known workaround for this behavior.
- PIR - High Priority Action
-
PIR-11725 Loading...