While using my account and API token to retrieve information about IssueBean and Worklog. I encountered an unexpected issue. Could you please advise on how to resolve this one?
Unexpected character encountered while parsing value: <. Path '', line 0, position 0. ------- <!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">
<HTML><HEAD><META HTTP-EQUIV="Content-Type" CONTENT="text/html; charset=iso-8859-1">
<TITLE>ERROR: The request could not be satisfied</TITLE>
</HEAD><BODY>
<H1>403 ERROR</H1>
<H2>The request could not be satisfied.</H2>
<HR noshade size="1px">
Bad request.
We 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.
<BR clear="all">
If you provide content to customers through CloudFront, you can find steps to troubleshoot and help prevent this error by reviewing the CloudFront documentation.
<BR clear="all">
<HR noshade size="1px">
<PRE>
Generated by cloudfront (CloudFront)
Request ID: tDchum6SfhC5R24FcM0-XSCsP5QKHTlb1RBF2UC_8TGF-txDx2LvbA==
</PRE>
<ADDRESS>
</ADDRESS>
</BODY></HTML>
Hi @Hiep Vu
Your request is being blocked by AWS CloudFront, possibly due to an incorrect API Endpoint. Which endpoint are you using? Ensure that it is something like https://yourdomain.atlassian.net/rest/api/3/issue/{issueKey}
As far as I know, this may also be because of the headers (Accept: application/json, and the Authorization), ensure that you are using correct headers.
Hi @Tuncay Senturk
Thank you for your quickly reply my question.
The request functions correctly when executed step-by-step in debug mode, but fails with an error during normal execution.
Thank you again
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
{StatusCode: 403, ReasonPhrase: 'Forbidden', Version: 1.1, Content: System.Net.Http.HttpConnectionResponseContent, Headers:
{
Server: CloudFront
Date: Thu, 06 Mar 2025 10:55:09 GMT
Connection: close
X-Cache: Error from cloudfront
Via: 1.1 77db7c9c4eebf2d651ddc84a3f692da4.cloudfront.net (CloudFront)
X-Amz-Cf-Pop: SGN50-P2
X-Amz-Cf-Id: jeGMHprSdImkVz9LlfExpx3dcrIZ80VDrvZf-Pwe-1A11rKYZjK1qg==
X-XSS-Protection: 1; mode=block
X-Content-Type-Options: nosniff
Strict-Transport-Security: max-age=31536000; preload
Content-Type: text/html
Content-Length: 915
}, Trailing Headers:
{
}}
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Spend the day sharpening your skills in Atlassian Cloud Organization Admin or Jira Administration, then take the exam onsite. Already ready? Take one - or more - of 12 different certification exams while you’re in Anaheim at Team' 25.
Learn more
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.