API: Workspace returns null

Hi!

Support team has tapped out and directed me here. Hopefully you can help me out. Trying to get a webhook going.

I got a v4 acc, adobe connected.

I got the Auth key, exchange it for access token, get account ID from that and then… Null? Not allowed to post two images so this one gets to be text:

{
“data”: ,
“links”: {
“next”: null
}
}

Alright, I guess I have a personal account but doing this GET https://api.frame.io/v4/accounts/{{account_id}}/projects just spits out a 404…

Any ideas how I move on from here? This is about the limit of my skill level. I started this project thinking the integration with Zapier sounded perfect :sweat_smile:

Thanks

Not usre if this helps, but re-did everything and used the offical postman collection this time. Maybe this has something to do with the issue?

When I try the user details get, I don’t pass the 3rd one but it says this instead

failed
account_user has expected properties | AssertionError: expected { name: ’ my name bahisabahis ', …(2) } to have property ‘adobe_user_id’


And I can’t see any acc ID here (I can grab that using my own commands though)

@Bahisabahis just checking to make sure you are able to hit /v4/accounts to get your account_id and from there you can use that variable (you can highlight and then right click Set as Variable in postman and use that as your account_id

@CharlieAnderson yep, no issues grabbing id with {{BASE_URL}}/v4/me and setting it as account_id variable.

The issue is that when I try to list workspaces, it gives me null

Interesting, are you on a Free/Pro/Team plan? Going to try to reproduce on my end

Team! I’m really stumped. Started off doing everything in powershell just to check and figured I was doing something wrong. But resetting everything and spinning up postman and the official collection returns the exact same result…

Let me know if you need ay details from me. More than happy to share.

Hm, read back what I wrote and want to correct something

GET {{BASE_URL}}/v4/me gets me name, email and avatar_url. it does NOT get me account_id.

What gets me an “id” field is GET {{BASE_URL}}/v4/accounts though it does not specifically say account id

EDIT: It’s this ID I have used to pop into my account_id variable and use to try and retrieve workspace ID, but get null back.

Sorry for conflicting info before.

This tracks, /me gets your information about you the user (hence “me”), /accounts is what gives you information about what accounts you have access to if you are a member of multiple accounts. The id is indeed your account id. With a team account, you should have a default workspace_id but let me check on my end to see if there’s some issue with returning a default one with no additional workspaces (could very well be the case). And just checking, you are trying to get the workspace _id on an account you own correcT? Being invited to an account or project does not return the workspace_id at this time.

Ah, i think that’s the issue then. I’m not the owner but have been invited (same org and that org pays for our team license).

No way to access the API as a member then? I need to be the owner of the workspace? I’ve currently an account that has been granted all possible levels of access afaik.

Thanks,

Are workspace IDs unique to each user or can I try and get one through the owner of the project somehow? I’d prefer not having to guide my overseas client through installing postman etc. though… Potentially I might coax them to transferring ownership but that might be uncomfortable for them at best.

@Bahisabahis workspaces are unique to the account, not to the user. If you see Workspaces > Invited to in the account then you have not been added to the account, only invited to the workspace itself, you will need to be added to the account in order to access the API. I will make sure this gets added as a ticket to ensure users who have been Invited to a workspace can get the workspace_id returned in the response.

Thanks! Having the owner “add me to the account” sorted the workspaces issue… Too bad I hit an error on the next step.

Trying to list projects gives me a 500, internal server error. What’s up with that? Waiting and retrying makes no difference.

500 error typically means something is wrong on our side, but I don’t see any issues or outages. Can you double check again?