# Having trouble integrating the Instagram, Dropbox and Drive plugins

**URL:** <https://community.transloadit.com/t/having-trouble-integrating-the-instagram-dropbox-and-drive-plugins/14751>\
**Category:** Uppy\
**Created:** [September 28, 2018, 11:49pm UTC](https://community.transloadit.com/t/having-trouble-integrating-the-instagram-dropbox-and-drive-plugins/14751 "2018-09-28T23:49:06Z")\
**Posts on this page:** 3\
**Page:** 1

<div class="post-metadata">

**Author:** ![matt](https://avatars.discourse-cdn.com/v4/letter/m/a6a055/32.png) [@matt](https://community.transloadit.com/u/matt)\
**Post date:** [September 28, 2018, 11:49pm UTC](https://community.transloadit.com/t/having-trouble-integrating-the-instagram-dropbox-and-drive-plugins/14751/1 "2018-09-28T23:49:06Z")

</div>

Hi all,

I’ve looked over the documentation, StackOverflow, etc. and can’t seem to find an answer. I’ve installed Uppy into an Angular 6 site, nginx proxy on an AWS Linux back end.

Uploads from local files and the camera work fine.

The plugins can’t seem to authenticate.

If I remove the nginx proxy, I get a JSON parsing error (unexpected token \<) and it doesn’t seem to reach the point of authenticating with the outside services.

If I keep the proxy and have it direct /instagram --\> localhost, for an example, the browser loads a redirect url that stalls, and then the site just redirects back to its default page.

 ![34%20PM](https://canada1.discourse-cdn.com/flex032/uploads/transloadit/original/1X/7518098bc5a1c07145419e025e5e2768b1f5c0d0.png)

I’m not sure what I’m doing wrong, since everything else seems to work fine.

Help is much appreciated.

---

<div class="post-metadata">

**Author:** ![matt](https://avatars.discourse-cdn.com/v4/letter/m/a6a055/32.png) [@matt](https://community.transloadit.com/u/matt)\
**Post date:** [September 29, 2018, 1:04am UTC](https://community.transloadit.com/t/having-trouble-integrating-the-instagram-dropbox-and-drive-plugins/14751/2 "2018-09-29T01:04:48Z")

</div>

Fixed by setting the redirect URLs in those accounts to: [domain]/connect/[type]/callback and directing nginx to proxy all /connect requests to the Uppy server instance. Might be nice to add this to the documentation.

Instagram is still buggy, though. It logs in but then throws an error:

[Uppy] [18:00:34] TypeError: Cannot read property ‘user’ of undefined

---

<div class="post-metadata">

**Author:** ![goto-bus-stop](https://yyz2.discourse-cdn.com/flex032/user_avatar/community.transloadit.com/goto-bus-stop/32/18_2.png) [@goto-bus-stop](https://community.transloadit.com/u/goto-bus-stop)\
**Post date:** [October 8, 2018, 9:06am UTC](https://community.transloadit.com/t/having-trouble-integrating-the-instagram-dropbox-and-drive-plugins/14751/3 "2018-10-08T09:06:08Z")

</div>

The `user` issue most likely is the same as this: [https://github.com/transloadit/uppy/issues/1083](https://github.com/transloadit/uppy/issues/1083)
