# Calling Api's /v4/me and /v4/accounts 401 Unauthorized Invalid or missing authorization token

**URL:** <https://forum.frame.io/t/calling-apis-v4-me-and-v4-accounts-401-unauthorized-invalid-or-missing-authorization-token/2964>\
**Category:** Uncategorized\
**Created:** [November 12, 2025, 7:52pm UTC](https://forum.frame.io/t/calling-apis-v4-me-and-v4-accounts-401-unauthorized-invalid-or-missing-authorization-token/2964 "2025-11-12T19:52:58Z")\
**Posts on this page:** 7\
**Page:** 1

<div class="post-metadata">

**Author:** ![webworksco](https://avatars.discourse-cdn.com/v4/letter/w/bcef8e/32.png) [@webworksco](https://forum.frame.io/u/webworksco)\
**Post date:** [November 12, 2025, 7:52pm UTC](https://forum.frame.io/t/calling-apis-v4-me-and-v4-accounts-401-unauthorized-invalid-or-missing-authorization-token/2964/1 "2025-11-12T19:52:58Z")

</div>

Dear team,

Good Day !

I was created frame io **Pro plan subscription** account, That account type is **[next frame io](https://next.frame.io/)**, So frame io team suggested to me **[https://developer.adobe.com](https://developer.adobe.com)**

 ![image](https://canada1.discourse-cdn.com/flex035/uploads/frame1/original/1X/c88ce69543942e69879731e5a60787ed752628ba.png)

Then, I was created new project into developer adobe com console and Connected products and services Selected: **frame io API** select added redirect URI also created project service like this screen shot

 ![image](https://canada1.discourse-cdn.com/flex035/uploads/frame1/original/1X/bc8ce9e5e882e18a82af0bf7075f92b0991edcd8.png)

Then, I was Node js implement code like this

const clientId = “c497d062ba75497ab9f93506277a0bdf”;

const clientSecret = “p8e-wNDB33w-kcYoPgXKyaR6rm63zWN0WXzb”;

const redirectUri = “[https://manju-backend-yeor.onrender.com/api/frameio/callback](https://manju-backend-yeor.onrender.com/api/frameio/callback)”;

// STEP 1: Redirect user to Adobe Login

app.get(“/auth”, (req, res) =\> {

const authUrl = new URL(“[https://ims-na1.adobelogin.com/ims/authorize/v2](https://ims-na1.adobelogin.com/ims/authorize/v2)”);

authUrl.searchParams.set(“client\_id”, clientId);

authUrl.searchParams.set(“redirect\_uri”, redirectUri);

authUrl.searchParams.set(“response\_type”, “code”);

authUrl.searchParams.set(“scope”, “openid offline\_access email profile”);

authUrl.searchParams.set(“state”, “random123”);

// Redirect user to Adobe login

res.redirect(authUrl.toString());

});

// STEP 2: Adobe redirects here with ?code=AUTH\_CODE

app.get(“/callback”, async (req, res) =\> {

const code = req.query.code;

if (!code) {

```
return res.status(400).send("Missing authorization code");

```

}

console.log(" Authorization Code:", code);

const tokenUrl = “[https://ims-na1.adobelogin.com/ims/token/v3](https://ims-na1.adobelogin.com/ims/token/v3)”;

// Create Basic Auth header

const authHeader =

```
"Basic " +

Buffer.from(\`${clientId}:${clientSecret}\`).toString("base64");

```

// Prepare request body

const params = new URLSearchParams({

```
code,

grant_type: "authorization_code",

redirect_uri: redirectUri,

```

});

try {

```
const tokenResponse = await fetch(tokenUrl, {

  method: "POST",

  headers: {

    "Authorization": authHeader,

    "Content-Type": "application/x-www-form-urlencoded",

  },

  body: params.toString(),

});

const tokenData = await tokenResponse.json();

console.log("Token Response:", tokenData);

res.send(\`

  <h2> OAuth Success!</h2>

  <p><b>Access Token:</b> ${tokenData.access_token}</p>

  <p><b>Refresh Token:</b> ${tokenData.refresh_token}</p>

  <p><b>Expires In:</b> ${tokenData.expires_in} seconds</p>

\`);

```

} catch (err) {

```
console.error(" Token Error:", err);

res.status(500).send("Error exchanging authorization code for token");

```

}

});

When ever I was run code taken new tab in chrome put url like

 ![image](https://canada1.discourse-cdn.com/flex035/uploads/frame1/original/1X/ccf2a11349a50e918762df4b02b01bc751d0de6a.png)

After that login current emailID

 ![image](https://canada1.discourse-cdn.com/flex035/uploads/frame1/original/1X/7e924347e8bf5f1ea3655b09d5d5b74965ac2264.jpeg)

Then, I got Credentials **Access token and Refresh**  **Token** Like this

 ![image](https://canada1.discourse-cdn.com/flex035/uploads/frame1/original/1X/57bca12d2e92c14518ef7f0276e39bf9b1c7421e.png)

After that i was taken Access Token only, After that /v4/me and /v4/accounts api’s call like this then **i got error 401**

 ![image](https://canada1.discourse-cdn.com/flex035/uploads/frame1/original/1X/325bb40d28612c0cc430fae5dfb846852a1e9acd.png)

So, Please check it what happen, I am checked multiple ways but i got same issue.

I believe I’ve followed all the steps correctly, but I’m still facing an issue. Could you please look into it as soon as possible? I’ll be waiting for your response.

---

<div class="post-metadata">

**Author:** ![CharlieAnderson](https://yyz1.discourse-cdn.com/flex035/user_avatar/forum.frame.io/charlieanderson/32/491_2.png) [@CharlieAnderson](https://forum.frame.io/u/CharlieAnderson)\
**Post date:** [November 13, 2025, 2:06am UTC](https://forum.frame.io/t/calling-apis-v4-me-and-v4-accounts-401-unauthorized-invalid-or-missing-authorization-token/2964/2 "2025-11-13T02:06:55Z")

</div>

hi @webworksco getting 401 error when accessing `/v4/me` most likely means you have an issue with your [frame.io](http://frame.io) account not being linked to an Adobe ID. You can solve that by following these steps: [Connecting to Adobe authentication | Frame.io V4 Knowledge Center](https://help.frame.io/en/articles/11758018-connecting-to-adobe-authentication)

---

<div class="post-metadata">

**Author:** ![webworksco](https://avatars.discourse-cdn.com/v4/letter/w/bcef8e/32.png) [@webworksco](https://forum.frame.io/u/webworksco)\
**Post date:** [November 13, 2025, 4:27am UTC](https://forum.frame.io/t/calling-apis-v4-me-and-v4-accounts-401-unauthorized-invalid-or-missing-authorization-token/2964/3 "2025-11-13T04:27:43Z")

</div>

hi @CharlieAnderson my profile page like this

 ![image](https://canada1.discourse-cdn.com/flex035/uploads/frame1/original/1X/0de101153a32ffa18c46703eee57c5998f0673d7.jpeg)

then I am select to **manage on Adobe** then next page open like

 ![image](https://canada1.discourse-cdn.com/flex035/uploads/frame1/original/1X/681dc1f1936c31520ae69f86469605b4c81465aa.png)

I was enable all buttons but i got same issue

 ![image](https://canada1.discourse-cdn.com/flex035/uploads/frame1/original/1X/b12e8904d1fac76e1208d911e01a9c793f562a3d.png)

Please check it.

---

<div class="post-metadata">

**Author:** ![CharlieAnderson](https://yyz1.discourse-cdn.com/flex035/user_avatar/forum.frame.io/charlieanderson/32/491_2.png) [@CharlieAnderson](https://forum.frame.io/u/CharlieAnderson)\
**Post date:** [November 13, 2025, 4:59am UTC](https://forum.frame.io/t/calling-apis-v4-me-and-v4-accounts-401-unauthorized-invalid-or-missing-authorization-token/2964/4 "2025-11-13T04:59:45Z")

</div>

@webworksco I just sent you a DM

---

<div class="post-metadata">

**Author:** ![webworksco](https://avatars.discourse-cdn.com/v4/letter/w/bcef8e/32.png) [@webworksco](https://forum.frame.io/u/webworksco)\
**Post date:** [November 13, 2025, 5:41am UTC](https://forum.frame.io/t/calling-apis-v4-me-and-v4-accounts-401-unauthorized-invalid-or-missing-authorization-token/2964/5 "2025-11-13T05:41:37Z")

</div>

Hi @CharlieAnderson

I got same error

Could please check it My account is what happen is there any enable please check it

 ![image](https://canada1.discourse-cdn.com/flex035/uploads/frame1/original/1X/714fa244a9426956e34add973415b0478377869d.png)

---

<div class="post-metadata">

**Author:** ![CharlieAnderson](https://yyz1.discourse-cdn.com/flex035/user_avatar/forum.frame.io/charlieanderson/32/491_2.png) [@CharlieAnderson](https://forum.frame.io/u/CharlieAnderson)\
**Post date:** [November 13, 2025, 5:51am UTC](https://forum.frame.io/t/calling-apis-v4-me-and-v4-accounts-401-unauthorized-invalid-or-missing-authorization-token/2964/6 "2025-11-13T05:51:55Z")

</div>

hi @webworksco If you could respond to my DM I’m happy to help you there. It will require sensitive information so I don’t want to have that conversation publicly on the forums.

---

<div class="post-metadata">

**Author:** ![CharlieAnderson](https://yyz1.discourse-cdn.com/flex035/user_avatar/forum.frame.io/charlieanderson/32/491_2.png) [@CharlieAnderson](https://forum.frame.io/u/CharlieAnderson)\
**Post date:** [November 14, 2025, 2:05am UTC](https://forum.frame.io/t/calling-apis-v4-me-and-v4-accounts-401-unauthorized-invalid-or-missing-authorization-token/2964/7 "2025-11-14T02:05:19Z")

</div>

For anyone in the future, the issue was a missing `additional_info.roles` scope in the initial request.
