[PIR] API call to contentbody/convert/{to} is timing out

XMLWordPrintable

    • 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

      1. 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. 

            Assignee:
            Clarissa Qian (Inactive)
            Reporter:
            Clarissa Qian (Inactive)
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

              Created:
              Updated:
              Resolved: