Request from web page to API responds with status 403

I followed the getting-started guide to create the helloworld basic app and integrated it successfully in my jira cloud instance.

Now I wanted to make an API request to get the issues for one of my boards. But the request failed with the 403 status.

I wanted to make the code as simple as possible, so I started with extending the helloworld.html with some javascript.

Here is the code:

<!DOCTYPE html>
<html lang="en">
        <link rel="stylesheet" href="" media="all">
        <script src="" async></script>

        <section id="content" class="ac-content">
            <h1>Hello World</h1>
            <button id="fetchButton">fetch</button>

      function fetchData() {
        .then(data => {
          console.log('response data', data);
        .catch(e => console.error(e.err));
      document.getElementById('fetchButton').onclick = fetchData;

The browser log after doing the request above :

I cant show it here as this forum says “New users can only put 2 links in a message”.

Hi @dag.rende ,

According to these docs:
a 403 is returned when the user doesn’t have a valid license, or permission to access Jira Software-specific features.

Can you please check that your instance still has a valid license? If so, go to Jira Settings > Products > Product Access, and note which groups are listed under Jira Software. Make sure the currently logged in user is in one of those groups.

Hi @dag.rende, this tutorial might help you setting the authentication: