Getting error Forbidden(403) after the app installation

Hi there!
In the app descriptor we have the following line:

"lifecycle": {
  "enabled": "/enabled",
},

As soon as the app receives this event, the app proceeds to indexing projects with issues and attachments in Jira Cloud. Recently, we found that the Forbidden(403) error appears in the application log. After 30-40 seconds, the app makes another attempt to query projects, and it works correctly.

We use the following REST point:
GET /rest/api/3/project/search

Has anybody encountered the same problem? How did you address this?
Any inputs or solutions will be greatly appreciated.
Thanks.

Sincerely, Vadim

9 Likes

@vrutkevich - yes, a similar behavior has been reported by other developers (perhaps you deduced that by the number of “hearts” on your post). It appears there may be some async processes that take place after the lifecycle events are fired off. So, yes, it happens. That being the current state, I can only suggest a gentle retry (delay) strategy.

I’ll see if I can get someone from the eng team to help crack this case, and put us on a course to correction. Thanks for your post.

1 Like

@nmansilla, thanks for reply. Is there any plans to address this? Is there at least a ticket acknowledging the issue existence?
I’m just trying to understand whether anything will be done about this or not. So we can consider adding workaround in all apps that may use this query.