# Uploading assets with fioctl

**URL:** <https://forum.frame.io/t/uploading-assets-with-fioctl/61>\
**Category:** Help\
**Created:** [September 30, 2021, 5:46pm UTC](https://forum.frame.io/t/uploading-assets-with-fioctl/61 "2021-09-30T17:46:05Z")\
**Posts on this page:** 6\
**Page:** 1

<div class="post-metadata">

**Author:** ![kennyhorn](https://avatars.discourse-cdn.com/v4/letter/k/e99b99/32.png) [@kennyhorn](https://forum.frame.io/u/kennyhorn)\
**Post date:** [September 30, 2021, 5:46pm UTC](https://forum.frame.io/t/uploading-assets-with-fioctl/61/1 "2021-09-30T17:46:05Z")

</div>

Hi,

I’m struggling a bit with ‘fioctl assets upload PARENT\_ID FILE’.

If I use the folder id, I get the error:  
raise HTTPError(http\_error\_msg, response=self)  
requests.exceptions.HTTPError: 404 Client Error: Not Found for url:  
[https://api.frame.io/v2/assets/0...8/children](https://api.frame.io/v2/assets/0...8/children)

\*redacted ROOT\_ASSET\_ID from URL above, not sure if that’s ok to share online?

When using the root\_asset\_id (listed for a Project’s sub-folder) I get the error:  
File “C:…\Python\Python39\lib\site-packages\fioctl\uploader.py”, line 32, in upload  
upload\_urls = self.asset[‘upload\_urls’]  
TypeError: ‘PaginatedResponse’ object is not subscriptable

Running from Windows 10 cmd line. I can run other commands to list Teams, Projects etc and get the various id’s.

Appreciate any help,

Thanks, Kenny.

---

<div class="post-metadata">

**Author:** ![jhodges](https://yyz1.discourse-cdn.com/flex035/user_avatar/forum.frame.io/jhodges/32/3_2.png) [@jhodges](https://forum.frame.io/u/jhodges)\
**Post date:** [September 30, 2021, 7:04pm UTC](https://forum.frame.io/t/uploading-assets-with-fioctl/61/2 "2021-09-30T19:04:30Z")

</div>

Hey Kenny,

It would actually be super helpful to get the `root_asset_id`, those are fine to share because our access permissions will be enforced no matter what so nobody could access your folder if they couldn’t already.

I’ll be honest, we haven’t updated `fioctl` in a while, so it doesn’t surprise me it’s broken. With that said, I think I know what the fix is here already.

---

<div class="post-metadata">

**Author:** ![kennyhorn](https://avatars.discourse-cdn.com/v4/letter/k/e99b99/32.png) [@kennyhorn](https://forum.frame.io/u/kennyhorn)\
**Post date:** [September 30, 2021, 10:16pm UTC](https://forum.frame.io/t/uploading-assets-with-fioctl/61/3 "2021-09-30T22:16:34Z")

</div>

Hey, thanks for getting back so quickly.

The root\_asset\_id is: baa0148e-8106-467f-8374-c165c608a35f

Cheers.

---

<div class="post-metadata">

**Author:** ![jhodges](https://yyz1.discourse-cdn.com/flex035/user_avatar/forum.frame.io/jhodges/32/3_2.png) [@jhodges](https://forum.frame.io/u/jhodges)\
**Post date:** [October 8, 2021, 8:56pm UTC](https://forum.frame.io/t/uploading-assets-with-fioctl/61/4 "2021-10-08T20:56:11Z")

</div>

> [@kennyhorn](#):
>
> baa0148e-8106-467f-8374-c165c608a35f

Sorry for the delay in getting back to you, I did just check in our support tool and I can see the `root_asset_id` you provided appears to be empty. Does that sound right?

---

<div class="post-metadata">

**Author:** ![kennyhorn](https://avatars.discourse-cdn.com/v4/letter/k/e99b99/32.png) [@kennyhorn](https://forum.frame.io/u/kennyhorn)\
**Post date:** [October 10, 2021, 7:11pm UTC](https://forum.frame.io/t/uploading-assets-with-fioctl/61/5 "2021-10-10T19:11:23Z")

</div>

Hi,

‘baa0148e-8106-467f-8374-c165c608a35f’ - should be a folder. It’s empty at the moment but I have uploaded to it previously by other means. I got this root\_asset\_id listed alongside folder details when querying a project. The id of the folder is ‘01d504e9-1641-48d6-b036-79633d8c0d88’.

… Wasn’t getting on well with fioctl so decided to look at frameioclient instead. I’ve managed to script most of what I need for a proof of concept - Create folder, upload mp4, create review link, add asset to review link.

Thanks for your time on this … I may have some frameioclient questions 😏

---

<div class="post-metadata">

**Author:** ![jhodges](https://yyz1.discourse-cdn.com/flex035/user_avatar/forum.frame.io/jhodges/32/3_2.png) [@jhodges](https://forum.frame.io/u/jhodges)\
**Post date:** [October 13, 2021, 10:25pm UTC](https://forum.frame.io/t/uploading-assets-with-fioctl/61/6 "2021-10-13T22:25:04Z")

</div>

Glad to hear you’ve found a work-around in the `frameioclient`! In the latest build (un-released 1.3.0), I’ve been working on brining over some of the CLI so it’s installed by default when you install `frameioclient`.

I would recommend continuing down that path as I just don’t know when I’ll have time to work on `fioctl`. We sort of sunset that a while back since usage is so low.
