Exception when parsing request from jira webhook

Mr NamNguyen
I'm New Here
I'm New Here
Those new to the Atlassian Community have posted less than three times. Give them a warm welcome!
September 5, 2024

Hi everyone,

I face a problem when trying to handle with jira webhook. I created a jira webhook via rest API to trigger changes from jira. It trigger the change sucessfully and my app can receive the message every changing on jira project. But after a day of testing (trigger jira webhook event many times and quickly), my app can not get the message sucessfully. From the callback function of my app (function handle message for callback URL of webhook), it raised a exception when i parse the request body (python code).

data = await request.json() => It raise the exception with message: 

 

raise ClientDisconnect()
starlette.requests.ClientDisconnect

I guest the trigger webhoook from jira cloud server meet the limitation but not sure.

Anyone can help the problem?

0 answers

Suggest an answer

Log in or Sign up to answer
DEPLOYMENT TYPE
CLOUD
PRODUCT PLAN
FREE
PERMISSIONS LEVEL
Product Admin
TAGS
AUG Leaders

Atlassian Community Events