We developed an App that user can grant the access permission to their confluence to us. Once the App is authed, we store the refresh token and access token.
We created a test account that has a single admin user and one test space. The test uses confluence python client 3.41.10 to access the confluence page, like below
from atlassian import Confluence
cf = Confluence(url=confluence_cloud_url, token=access_token)
cf.get_all_pages_from_space(space='TestSpace')
get exception: requests.exceptions.HTTPError: Current user not permitted to use Confluence
The weird thing is: this simple test program worked last week, but suddenly failed this week. Any idea?