No response from get organizations API

Hi,
I want to use get organizations API in my forge app on AdminPage.
https://developer.atlassian.com/cloud/jira/service-desk/rest/api-group-organization/#api-rest-servicedeskapi-organization-get

There is no output other than by the first console.log().
What should I do?
Is it possible to use Jira Service Management REST API from AdminPage, right ?

src/index.jsx

import ForgeUI, { render, AdminPage, Fragment, Form, Macro, useProductContext} from '@forge/ui';
import api, { route } from "@forge/api";

const App = () => {

    const getOrganizations = async () => {
        console.log("get organizations");
        const res = await api.asUser().requestJira(route`/rest/servicedeskapi/organization`)
        const data = await res.json();
        console.log(data);
    }

    const onSubmit = async (e) => {
        getOrganizations();
    };

    return (
        <AdminPage>
        <Fragment>

          <Form onSubmit={onSubmit}>
          </Form>

        </Fragment>
        </AdminPage>
    );
};

export const run = render(<Macro app={<App />} />);

scopes in manifest.yml

modules:
  jira:adminPage:

~snip~

permissions:
  scopes:
    - manage:servicedesk-customer
    - read:jira-user
    - read:jira-work
    - write:jira-work
    - read:group:jira
    - write:group:jira
    - read:user:jira
    - read:avatar:jira
    - manage:jira-project
    - manage:jira-configuration

Hi @ara, thank you for reaching out.

Maybe try to log res object, e.g. using JSON.stringify(res) to see if there is any error returned by the API. Another thing - could you try to call api.asApp() instead of api.asUser()?
https://developer.atlassian.com/platform/forge/runtime-reference/product-fetch-api/#methods
Please let me know if it helps.

Best regards,
Łukasz

@ljarzabek
I tried your suggestion with above code, and it worked.

However, I have already tried same way yesterday, and I remember it did not work…
Anyway, this issue has been resolved.
Thanks!!