# Error message when running a pack from Samples

**URL:** <https://connect.superhuman.com/t/error-message-when-running-a-pack-from-samples/31447>\
**Category:** Making Packs\
**Created:** [June 11, 2022, 1:34am UTC](https://connect.superhuman.com/t/error-message-when-running-a-pack-from-samples/31447 "2022-06-11T01:34:17Z")\
**Posts on this page:** 11\
**Page:** 1

<div class="post-metadata">

**Author:** ![Breno\_Nunes](https://yyz1.discourse-cdn.com/coda1/user_avatar/connect.superhuman.com/breno_nunes/32/12706_2.png) [@Breno\_Nunes](https://connect.superhuman.com/u/Breno_Nunes)\
**Post date:** [June 11, 2022, 1:34am UTC](https://connect.superhuman.com/t/error-message-when-running-a-pack-from-samples/31447/1 "2022-06-11T01:34:17Z")

</div>

I copied and pasted the sample “Upload Images” from

> **[Image samples - Coda Pack SDK](https://coda.io/packs/build/latest/samples/topic/image/)**
>
> Samples that show how to work with images.

I just keep getting the error message bellow when running the action.  
 ![error message](https://global.discourse-cdn.com/coda1/original/3X/3/a/3aecbd2c19868ad541da577b9b22c716f33bc15b.jpeg)

I just can’t figure out why. Is there something wrong with the sample?

edit:

 ![error message 1](https://global.discourse-cdn.com/coda1/original/3X/7/3/732853269045ed89a2fcce43e701a0ed878f8a45.jpeg)

Breno

---

<div class="post-metadata">

**Author:** ![Eric\_Koleda](https://yyz1.discourse-cdn.com/coda1/user_avatar/connect.superhuman.com/eric_koleda/32/50286_2.png) [@Eric\_Koleda](https://connect.superhuman.com/u/Eric_Koleda)\
**Post date:** [June 13, 2022, 2:58pm UTC](https://connect.superhuman.com/t/error-message-when-running-a-pack-from-samples/31447/2 "2022-06-13T14:58:11Z")

</div>

Hi @Breno_Nunes - I think the “Connection or proxy not found” error is expected, if you try to use a formula requiring an account and haven’t set one up yet. The real failure seems to be happening in the **Authorization initiated** log entry. Can you expand that and show me what it says?

---

<div class="post-metadata">

**Author:** ![Breno\_Nunes](https://yyz1.discourse-cdn.com/coda1/user_avatar/connect.superhuman.com/breno_nunes/32/12706_2.png) [@Breno\_Nunes](https://connect.superhuman.com/u/Breno_Nunes)\
**Post date:** [June 13, 2022, 3:44pm UTC](https://connect.superhuman.com/t/error-message-when-running-a-pack-from-samples/31447/3 "2022-06-13T15:44:40Z")

</div>

EDIT: I found what I needed to do here.  
I’m going to try it now. Let’s see if it works.  
Thank you, @Eric_Koleda

> **[Authenticating with other services - Coda Pack SDK](https://coda.io/packs/build/latest/guides/advanced/authentication/)**
>
> Documentation for the SDK to build Coda Packs.

 ![error message 2](https://global.discourse-cdn.com/coda1/original/3X/0/6/0628343513221d69744ed9018f828b5d20321708.jpeg)

---

<div class="post-metadata">

**Author:** ![Eric\_Koleda](https://yyz1.discourse-cdn.com/coda1/user_avatar/connect.superhuman.com/eric_koleda/32/50286_2.png) [@Eric\_Koleda](https://connect.superhuman.com/u/Eric_Koleda)\
**Post date:** [June 13, 2022, 4:36pm UTC](https://connect.superhuman.com/t/error-message-when-running-a-pack-from-samples/31447/4 "2022-06-13T16:36:07Z")

</div>

That error indicates that perhaps you haven’t entered your Google client ID and secret into the settings screen of the Pack. That’s required before you can sign in.

---

<div class="post-metadata">

**Author:** ![Breno\_Nunes](https://yyz1.discourse-cdn.com/coda1/user_avatar/connect.superhuman.com/breno_nunes/32/12706_2.png) [@Breno\_Nunes](https://connect.superhuman.com/u/Breno_Nunes)\
**Post date:** [June 13, 2022, 8:59pm UTC](https://connect.superhuman.com/t/error-message-when-running-a-pack-from-samples/31447/5 "2022-06-13T20:59:03Z")

</div>

H, @Eric_Koleda  
Sorry to bother you again, but this oauth is kind of tricky.  
I got another error message.  
Could you please, take a look?

 ![image](https://global.discourse-cdn.com/coda1/original/3X/f/1/f130d1cc0e40df6e6c7dd2099b5d10fb1968e465.png)

---

<div class="post-metadata">

**Author:** ![Eric\_Koleda](https://yyz1.discourse-cdn.com/coda1/user_avatar/connect.superhuman.com/eric_koleda/32/50286_2.png) [@Eric\_Koleda](https://connect.superhuman.com/u/Eric_Koleda)\
**Post date:** [June 14, 2022, 1:37am UTC](https://connect.superhuman.com/t/error-message-when-running-a-pack-from-samples/31447/6 "2022-06-14T01:37:19Z")

</div>

You never need to apologize @Breno_Nunes, this is what I’m here for 🙂

So that error is due to a change in the platform that I haven’t fixed in this sample code yet. You can get rid of it by added `disableAuthentication: true` to the request that downloads the images. Even after you fix that it will still fail, I found out today, due to a new bug with file uploads. I’ve reported it to the engineering team and I hope they will fix it soon. For the time being you might want push pause on this particular samples.

---

<div class="post-metadata">

**Author:** ![Breno\_Nunes](https://yyz1.discourse-cdn.com/coda1/user_avatar/connect.superhuman.com/breno_nunes/32/12706_2.png) [@Breno\_Nunes](https://connect.superhuman.com/u/Breno_Nunes)\
**Post date:** [June 14, 2022, 2:58am UTC](https://connect.superhuman.com/t/error-message-when-running-a-pack-from-samples/31447/7 "2022-06-14T02:58:35Z")

</div>

Thank you @Eric_Koleda.  
Could you please, update here when the bug is fixed.  
My idea is to adapt this code to upload and, at the same time, rename pictures to Google Drive.  
It’s feasible, isn’t it?  
I’m trying to understand the code first. It’s not an easy one.

---

<div class="post-metadata">

**Author:** ![Eric\_Koleda](https://yyz1.discourse-cdn.com/coda1/user_avatar/connect.superhuman.com/eric_koleda/32/50286_2.png) [@Eric\_Koleda](https://connect.superhuman.com/u/Eric_Koleda)\
**Post date:** [June 14, 2022, 12:43pm UTC](https://connect.superhuman.com/t/error-message-when-running-a-pack-from-samples/31447/8 "2022-06-14T12:43:18Z")

</div>

Sure, I’ll let you know when the bug is fixed. It should be fairly straightforward to adapt this code to work with Google Drive uploads.

---

<div class="post-metadata">

**Author:** ![Breno\_Nunes](https://yyz1.discourse-cdn.com/coda1/user_avatar/connect.superhuman.com/breno_nunes/32/12706_2.png) [@Breno\_Nunes](https://connect.superhuman.com/u/Breno_Nunes)\
**Post date:** [September 27, 2022, 11:26pm UTC](https://connect.superhuman.com/t/error-message-when-running-a-pack-from-samples/31447/9 "2022-09-27T23:26:28Z")

</div>

Hi, @Eric_Koleda.  
Any update on this bug fix?

---

<div class="post-metadata">

**Author:** ![Eric\_Koleda](https://yyz1.discourse-cdn.com/coda1/user_avatar/connect.superhuman.com/eric_koleda/32/50286_2.png) [@Eric\_Koleda](https://connect.superhuman.com/u/Eric_Koleda)\
**Post date:** [September 28, 2022, 2:46pm UTC](https://connect.superhuman.com/t/error-message-when-running-a-pack-from-samples/31447/10 "2022-09-28T14:46:44Z")

</div>

Hi @Breno_Nunes - Sorry for dropping the ball here. The bug I mentioned has been fixed, and if you add `disableAuthentication: true` as I mentioned then the Google Photos sample works now. I just opened a [pull request](https://github.com/coda/packs-sdk/pull/2232) to add that fix to the sample, and it should go live in a few hours.

---

<div class="post-metadata">

**Author:** ![Breno\_Nunes](https://yyz1.discourse-cdn.com/coda1/user_avatar/connect.superhuman.com/breno_nunes/32/12706_2.png) [@Breno\_Nunes](https://connect.superhuman.com/u/Breno_Nunes)\
**Post date:** [September 28, 2022, 5:21pm UTC](https://connect.superhuman.com/t/error-message-when-running-a-pack-from-samples/31447/11 "2022-09-28T17:21:15Z")

</div>

Thank you, @Eric_Koleda.  
I’ll definitely give it a try.
