# ActiveStorage and Companion plug-ins?

**URL:** <https://community.transloadit.com/t/activestorage-and-companion-plug-ins/15208>\
**Category:** Uppy\
**Created:** [February 23, 2020, 2:37am UTC](https://community.transloadit.com/t/activestorage-and-companion-plug-ins/15208 "2020-02-23T02:37:17Z")\
**Posts on this page:** 4\
**Page:** 1

<div class="post-metadata">

**Author:** ![martinstreicher](https://yyz2.discourse-cdn.com/flex032/user_avatar/community.transloadit.com/martinstreicher/32/214_2.png) [@martinstreicher](https://community.transloadit.com/u/martinstreicher)\
**Post date:** [February 23, 2020, 2:37am UTC](https://community.transloadit.com/t/activestorage-and-companion-plug-ins/15208/1 "2020-02-23T02:37:17Z")

</div>

I am new to Uppy. I have a Rails 6 app with Active Storage. I am running Companion as a standalone Heroku Node.js app.

Uppy uploads files fine from my local machine, but I get the following error when I try to upload files via Dropbox. (I can select files just fine from Dropbox. The error occurs when transfer starts.)

```
[Error] [Uppy] [21:22:01] – "undefined is not an object (evaluating 'file.response.signed_id') "

```

The error is coming from index.js and function upload.

I’ll post my code as a gist. I am at a loss – it seems like the response is going amiss.

> <https://gist.github.com/martinstreicher/203595c19c044433fa36ee1930dbf787>

---

<div class="post-metadata">

**Author:** ![martinstreicher](https://yyz2.discourse-cdn.com/flex032/user_avatar/community.transloadit.com/martinstreicher/32/214_2.png) [@martinstreicher](https://community.transloadit.com/u/martinstreicher)\
**Post date:** [February 24, 2020, 2:29pm UTC](https://community.transloadit.com/t/activestorage-and-companion-plug-ins/15208/2 "2020-02-24T14:29:36Z")

</div>

[https://dl.dropboxusercontent.com/s/ewex3vz0i942u0r/Demo%20of%20Problem.mp4?dl=0](https://dl.dropboxusercontent.com/s/ewex3vz0i942u0r/Demo%20of%20Problem.mp4?dl=0)

---

<div class="post-metadata">

**Author:** ![martinstreicher](https://yyz2.discourse-cdn.com/flex032/user_avatar/community.transloadit.com/martinstreicher/32/214_2.png) [@martinstreicher](https://community.transloadit.com/u/martinstreicher)\
**Post date:** [February 25, 2020, 5:56pm UTC](https://community.transloadit.com/t/activestorage-and-companion-plug-ins/15208/3 "2020-02-25T17:56:50Z")

</div>

I found my error. I do have a question though. Do I have to do something to get the Dropbox file to ActiveStorage?

---

<div class="post-metadata">

**Author:** ![matedemorphy](https://yyz2.discourse-cdn.com/flex032/user_avatar/community.transloadit.com/matedemorphy/32/230_2.png) [@matedemorphy](https://community.transloadit.com/u/matedemorphy)\
**Post date:** [May 19, 2020, 7:05am UTC](https://community.transloadit.com/t/activestorage-and-companion-plug-ins/15208/4 "2020-05-19T07:05:19Z")

</div>

Hi, i’m trying to do the same but i’m getting a cors error “No ‘Access-Control-Allow-Origin’ header is present on the requested resource”. Don’t you have problems with that?
