Hey,
I’ve discovered this really weird behavior when trying to use this endpoint to convert something from storage format to any other format (see possible targets in linked doc):
No matter what target format i use I get a response “401 unauthorized” most of the times. But i don’t always get that response, which is really weird. I can do the exact same thing 10 times and i will get a 200 with the right content once or twice and the other times I’ll get a 401.
According to the docs the oAuth scope read:confluence-content.all
is required for this endpoint, the same scope is required for the inline tasks endpoint, which works 100% of the times, so the scope is definitely present.
If you want to try this out yourself I set up a sample project using both endpoints and logging the results for the conversion api. See https://github.com/ItzBubschki/forgeConversionIssue.
Check the readme for more information on how to use this repo to reproduce this issue.
Am I doing something wrong or is this an issue in Atlassian’s backend?
Cheers,
Laurin