I’m developing an application that needs to interact with the feature flag APIs to read/write information, and am getting a 403 response for my calls.
Could someone please guide me on how to make these calls work? I couldn’t find more information about what “Provider not installed” means in this context.
Request:
POST https://api.atlassian.com/ex/jira/<cloud id>/rest/featureflags/0.1/bulk
[
{
"message": "The request failed: Provider '<oauth client id>' not installed in for cloudId '<cloud id>' for types '[FEATURE_FLAGS]'"
}
]
Looking at the scopes, just in case, the documentation states these are needed:
write:feature-flag-info:jira
delete:feature-flag-info:jira
read:feature-flag-info:jira
And I see them in the access token generated after granting access to my Atlassian account:
"scope": "delete:feature-flag-info:jira offline_access read:feature-flag-info:jira read:feature-flag:jira-software write:feature-flag-info:jira write:feature-flag:jira-software",
"https://id.atlassian.com/atl_token_type": "ACCESS",
When I get a list of accessible resources using the same token, I find those scopes as well:
GET https://api.atlassian.com/oauth/token/accessible-resources
{
"id": "<cloud id>",
"url": "https://<my url>.atlassian.net",
"name": "<name>",
"scopes": [
"delete:feature-flag-info:jira",
"read:feature-flag-info:jira",
"read:feature-flag:jira-software",
"write:feature-flag-info:jira",
"write:feature-flag:jira-software"
],
}
Am I missing more steps?
Thank you in advance!