Forums

Articles
Create
cancel
Showing results for 
Search instead for 
Did you mean: 

Getting 403 Status Code while calling APIs through Axios

Anupam Dungdung
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!
April 21, 2025

Hi there,

I'm writing to follow up on the 403 error we're encountering when calling Jira APIs. The error appears to be CloudFront-related rather than directly from Jira:

`<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">\n<HTML><HEAD><META HTTP-EQUIV="Content-Type" CONTENT="text/html; charset=iso-8859-1">\n<TITLE>ERROR: The request could not be satisfied</TITLE>\n</HEAD><BODY>\n<H1>403 ERROR</H1>\n<H2>The request could not be satisfied.</H2>\n<HR noshade size="1px">\nBad request.\nWe can't connect to the server for this app or website at this time. There might be too much traffic or a configuration error. Try again later, or contact the app or website owner.\n<BR clear="all">\nIf you provide content to customers through CloudFront, you can find steps to troubleshoot and help prevent this error by reviewing the CloudFront documentation.\n<BR clear="all">\n<HR noshade size="1px">\n<PRE>\nGenerated by cloudfront (CloudFront)\nRequest ID: EOQ1QpDQmuclFI8CWajoUIeuGbZI8mcTkbeuolgGZR8v8W6KM_XKow==\n</PRE>\n<ADDRESS>\n</ADDRESS>\n</BODY></HTML>`

Interestingly, the same API calls work perfectly in Postman with identical details.

Based on the error, this could be due to:

  1. Request headers mismatch
  2. User-agent filtering
  3. IP restrictions
  4. Rate limiting

Could someone from the Jira team help investigate why our calls are being blocked by CloudFront while Postman succeeds? We're happy to provide additional details about our implementation if needed.

Thanks in advance,
Anupam Dungdung

1 answer

1 accepted

2 votes
Answer accepted
Anupam Dungdung
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!
April 21, 2025

Suggest an answer

Log in or Sign up to answer
DEPLOYMENT TYPE
CLOUD
PRODUCT PLAN
STANDARD
TAGS
AUG Leaders

Atlassian Community Events