# Slow uploads using TransloaditKit

**URL:** <https://community.transloadit.com/t/slow-uploads-using-transloaditkit/17014>\
**Category:** Transloadit\
**Created:** [February 21, 2024, 8:00pm UTC](https://community.transloadit.com/t/slow-uploads-using-transloaditkit/17014 "2024-02-21T20:00:03Z")\
**Posts on this page:** 7\
**Page:** 1

<div class="post-metadata">

**Author:** ![juliancheal](https://yyz2.discourse-cdn.com/flex032/user_avatar/community.transloadit.com/juliancheal/32/921_2.png) [@juliancheal](https://community.transloadit.com/u/juliancheal)\
**Post date:** [February 21, 2024, 8:00pm UTC](https://community.transloadit.com/t/slow-uploads-using-transloaditkit/17014/1 "2024-02-21T20:00:03Z")

</div>

Hi,

I’m building a Mac app to upload files using Transloadit. I’ve based it off the Transloaditkit example code.  
However the uploads are super slow.

![Screenshot 2024-02-21 at 19.45.12](https://canada1.discourse-cdn.com/flex032/uploads/transloadit/original/2X/7/7c227e47ded52c40807a6d7d98545da29349b692.png)

Using the TransloaditKitExample, everything worked fine (and fast). I thought maybe it was because the example was creating the assembly steps, and not using a template. So I created a template and used that with the Example app, and that worked fine too.

The only difference I can see is I am uploading audiofiles and not images (like in the example app). I just can’t see why this would make a differance.

---

<div class="post-metadata">

**Author:** ![marius](https://yyz2.discourse-cdn.com/flex032/user_avatar/community.transloadit.com/marius/32/572_2.png) [@marius](https://community.transloadit.com/u/marius)\
**Post date:** [February 23, 2024, 8:36pm UTC](https://community.transloadit.com/t/slow-uploads-using-transloaditkit/17014/2 "2024-02-23T20:36:54Z")

</div>

Hello Julian, something seems to be off here. An upload should not be progressed to 58.300%. Could you share some example Assembly IDs with us, so we can further investigate? If you don’t want to post them publicly, feel free to e-mail us at [support@transloadit.com](mailto:support@transloadit.com).

---

<div class="post-metadata">

**Author:** ![tanmay-kali](https://yyz2.discourse-cdn.com/flex032/user_avatar/community.transloadit.com/tanmay-kali/32/812_2.png) [@tanmay-kali](https://community.transloadit.com/u/tanmay-kali)\
**Post date:** [February 26, 2024, 10:16pm UTC](https://community.transloadit.com/t/slow-uploads-using-transloaditkit/17014/3 "2024-02-26T22:16:23Z")

</div>

Use uploadcare , very fast

---

<div class="post-metadata">

**Author:** ![juliancheal](https://yyz2.discourse-cdn.com/flex032/user_avatar/community.transloadit.com/juliancheal/32/921_2.png) [@juliancheal](https://community.transloadit.com/u/juliancheal)\
**Post date:** [February 27, 2024, 3:04pm UTC](https://community.transloadit.com/t/slow-uploads-using-transloaditkit/17014/4 "2024-02-27T15:04:57Z")

</div>

Hi Marius, thanks for your reply, sorry for my delay. I’ll hopefully upload an example repo tomorrow and email the assembly ids. Thanks 🙂

---

<div class="post-metadata">

**Author:** ![juliancheal](https://yyz2.discourse-cdn.com/flex032/user_avatar/community.transloadit.com/juliancheal/32/921_2.png) [@juliancheal](https://community.transloadit.com/u/juliancheal)\
**Post date:** [March 3, 2024, 7:11pm UTC](https://community.transloadit.com/t/slow-uploads-using-transloaditkit/17014/5 "2024-03-03T19:11:25Z")

</div>

Finally I had some time! Sorry about that, I’ve made a demo repo of a MacOS app using TransloaditKit

> **[GitHub - juliancheal/transloadit\_upload\_demo](https://github.com/juliancheal/transloadit_upload_demo)**
>
> Contribute to juliancheal/transloadit\_upload\_demo development by creating an account on GitHub.

You’ll need to specify a TemplateID, and the Transloadit credentials. I’ve also emailed support with a follow up email with more info. Let me know if you need anything else. 🙂

---

<div class="post-metadata">

**Author:** ![marius](https://yyz2.discourse-cdn.com/flex032/user_avatar/community.transloadit.com/marius/32/572_2.png) [@marius](https://community.transloadit.com/u/marius)\
**Post date:** [March 4, 2024, 11:32am UTC](https://community.transloadit.com/t/slow-uploads-using-transloaditkit/17014/6 "2024-03-04T11:32:37Z")

</div>

Thank you, we will be looking into this 🙂

---

<div class="post-metadata">

**Author:** ![marius](https://yyz2.discourse-cdn.com/flex032/user_avatar/community.transloadit.com/marius/32/572_2.png) [@marius](https://community.transloadit.com/u/marius)\
**Post date:** [March 5, 2024, 2:52pm UTC](https://community.transloadit.com/t/slow-uploads-using-transloaditkit/17014/7 "2024-03-05T14:52:53Z")

</div>

Hello Julian,

I want to give you (and anyone else interested) a brief update. We are able to reproduce the issue with your example repository.

Our first idea is that your project and the example from TransloaditKit use different file pickers. Your project seems to use a file picker, which returns an app-specific file handle. When you provide this handle to TransloaditKit, it is passed down to TUSKit, which is a library we use for resumable file uploads. This library tries to re-save the file, which is not allowed due to sandbox restrictions, causing the upload to fail and the didError handler to be called. Disabling the sandbox seems to help, but is not the ideal solution, of course.

We will continue working on this to improve the situation.
