API v2 Endpoint to convert content ids to content types returns 401

Dear developer community,

I am building a Forge App and am trying to use the v2 API endpoint to convert content id’s to content types:
https://developer.atlassian.com/cloud/confluence/rest/v2/api-group-content/#api-content-convert-ids-to-types-post

However, I always get this response:
{code: 401, message: 'Unauthorized; scope does not match'}

The content is in my personal space and I have full access, so I should be able to fetch this endpoint. I am using these scopes for the app:

- read:confluence-content.summary
- read:confluence-content.all
- write:confluence-content
- read:content:confluence
- read:content-details:confluence
- read:page:confluence
- read:blogpost:confluence

But nothing seems to work. Am I missing something here? Any help to get this to work would be much appreciated :slight_smile:

Thanks,

Felix

1 Like

Hi @FelixWaldbach - I apologize for this!

It looks like this was an oversight on our part. This was the first V2 endpoint we introduced with 0 required OAuth 2.0 scopes, but did not do the configuration for this correctly.

I am working with the corresponding internal teams to get this resolved ASAP.

1 Like