Confluence cloud REST app properties PUT throwing 404 code

Hi Community,

I have been facing a 404 error code with the Confluence cloud REST API while storing the app properties. Reference https://developer.atlassian.com/cloud/confluence/confluence-entity-properties/#app-properties

Below is the REST endpoint I tried:
curl --request PUT --user '<email@example.com>:<api_token>' --header "Accept: application/json" --header "Content-Type: application/json" --data '{"string":"true"}' 'https://xxxxxxx.atlassian.net/wiki/rest/atlassian-connect/1/addons/com.atlassian.confluence.xxxx.xxxx/properties/sampleProperty'

And getting below response:
{"status-code":404,"message":"App with key does not exist."}

However, I passed the correct username and API token which worked for the REST endpoint https://xxxxxxxx.atlassian.net/wiki/rest/api/content?spaceKey=Test&title=Test

Am I missing something, Could you please help me with this issue?

Thanks in Advance.

1 Like

I got the answer for it. Actually I configured in atlassian-connect.json to appear the app configuration to admin only, thus needed to add ADMIN scope in the config json file.