Is it normal to have different account between /v4/accounts and /v4/me?

Same token (from personal account login) gets different account between /v4/accounts and /v4/me (the account id from /v4/me doesn’t exist in the result of /v4/accounts)

/v4/me response has my personal account

/v4/accounts response only has enterprise account.

Hi @kangkyu

What you’re describing is expected behavior. /v4/me returns information on the authenticated user. A good way to think about the ID you see in that response is a user ID, which identifies you as an individual.

/v4/accounts returns a list of the accounts you belong to. In some cases this can return multiple, depending on how many accounts you have access to.

The account ID shown in the response from /v4/accounts is the one you’ll want to use as the path parameter for your API calls.

Hope this helps!

Thank you @rosiec for a quick response. It’s good to know that it’s an expected behavior. But in my case the videos are permitted to personal, not enterprise account. So the account id in the response from /v4/accounts does not work for me. That’s why I was wondering.

Thank you. I hope my explanation work, basically I cannot read file I have access, through API.

@kangkyu the accounts returned by the API is based on the Profile you select when you originally authenticate to Adobe IMS. If you need to switch, log out of adobe.com and authenticate again and choose a different or personal account when prompted

Thank you @CharlieAnderson nice to meet you. By the way I tried that, but I get same result in both cases - I was able to see “Select a profile to sign in” page when I authenticate myself. When I click “Personal Profile” there, and then I get the token which only returns enterprise account id on /v4/accounts and still was not able to read videos I have a personal access to.

hi @kangkyu I took a look in our backend and I only see you have access to one frame.io account with the same email that you have registered on this forum. Perhaps your personal account is with a different email address?

I have only one email for frame.io accounts. Please explain it to me if I am incorrect. I’ve seen that there was a video file not available to others in the org (When I change personal → enterprise on the top right corner menu, I was not able to read that file on web ui of frame.io), but I got an access to that file, and was able to read with my email. Only problem was I couldn’t read the file through API with the given token (I tried to auth myself as enterprise login and personal login both). The token was only returning enterprise account id from /v4/accounts. Let me know if I need anything from my side.