Message: App version has invalid scopes

I wanted to publish my Forge app, but get the following error

message: App version has invalid scopes
path: /_embedded/version/cloud/appScopes
message: Invalid cloud app deployment details
path: /_embedded/version/cloud

I have the following scopes in my manifest.yml

  scopes:
    - read:confluence-user
    - read:confluence-content.summary
    - search:confluence
    - write:confluence-content
    - read:confluence-content.all
    - readonly:content.attachment:confluence
    - write:confluence-file

As we want to publish this before the Codegeist deadline, any (fast) help is appreciated!
Thanks in advance :slight_smile:

There is also another open request in the other Community: Solved: Invalid scopes & deployment details prevent forge ...

It seems there is a mistake in the documentation: Get URI to download attachment.

The Classic (RECOMMENDED) and Granular scopes are mixed up. If I change readonly:content.attachment:confluence to read:attachment:confluence publishing works fine.

2 Likes

@ppasler is this still the case?

Today when I use with either scopes - I get a 401 error

{"code":401,"message":"Unauthorized; scope does not match"}

I did however saw forge cli warned me about missing scopes