Getting random error when fetching issues

Kristina Haranchuk August 1, 2024

I'm experiencing an issue with my API requests where I intermittently receive the following error message: "There was an error invoking the function - [object Object]."

Context:

I'm making requests to the Jira API using the following route:

const route = `/rest/api/3/search?jql=${jqlQuery}&fields=${fields}&maxResults=${maxResults}&startAt=${startAt}`;

For example, a typical request might look like this:

/rest/api/3/search?jql=project%20%3D%2010008&fields=parent%2Cissuetype%2Cstatus%2Csummary&maxResults=10&startAt=370

Observations:

  • The error occurs at random moments during multiple requests.
  • There doesn't seem to be a consistent pattern or specific request that triggers the error.

Troubleshooting Steps Taken:

  • I've verified that the jqlQuery, fields, maxResults, and startAt parameters are correctly formatted and valid.
  • I've checked the API documentation for any rate limits or constraints that might cause this issue.

Additional Information:

Any insights or suggestions on how to debug this issue further would be greatly appreciated. Has anyone else encountered similar issues with Jira API requests?

0 answers

Suggest an answer

Log in or Sign up to answer
TAGS
AUG Leaders

Atlassian Community Events