Services Plugins FAQs

401 Error with Box.com App Storage (Service) plugin

Hi,

I just bought this plugin looking to extend the functionality of the already existing free Box.com plugin published by Bubble.

I have followed the setup instructions on your service page ( Box Storage Service Account - Zeroqode ) as evidenced by these screen shots:

image

Hi @mike1,

Thanks for reaching out. Unfortunately, this issue is not reproducing on our side after testing. The 401 error is related to the Authorization. The token is not authorized.

Could you please check our doc instructions and just make sure that all steps have been followed the same way, then give it a try again. :pray:

However, if you still encounter this error, please share screenshots and/or a screencast of your Workflow tab so we can see the exact setups on your side, to see where the problem might be.

Best,
Alex

As usual, be keen to know what I’m doing wrong:

https://www.awesomescreenshot.com/video/2971891?key=0b6210f5b055bd07e93135fa47721105

Thank you @mike1 for this walkthrough.

Please let us investigate this request a bit deeper because it seems that Box changed their methods a bit, and we’ll have to check on them as this 401 error is reproducing on our side as well, unfortunately.

I’ll get back to you with working solutions asap!

Best,
Alex

Hi @mike1,

The Box service has updated the authorization system. We fixed our plugin and demo page as well.

Please refer to our new doc instructions here, and demo editor here.

Thanks for your patience.

Best,
Alex

Hi @alexandru.

What version of the plugin are you using in your demo app?

I note it has the additional/changed configuration items that your documentation does as per below:

However the version linked from your plugin page, and which I have installed seems to be the latest version and doesn’t have these items:

How do I get access to the correct version?

Uh, oh! Sorry about this one, @mike1.

Please give it a try again, you should be able to upgrade now. :pray:

Best,
Alex

Hi again Alex - I know its been a couple of months since I picked this up but I need to get this working now.

I have successfully upgraded the plugin and it seems to be working. I can use both the Get access token and Upload a File actions without error as per the screenshot below:

However, after execution, I cannot find the uploaded file anywhere in my box account via the web portal using the admin profile. If I attempt to upload the file again using the same file name, I get a duplicate file error, which suggests to me the file has correctly uploaded, but possibly under a profile with permissions restricting access (although I would have thought the admin profile would still be able to see them).

Have you come across this before and can you advise on how to resolve?

The test page I have been using for testing can be viewed here:

If it helps, I can also provide access to my Box.com account so my configuration can be reviewed.

Mike.

Hi @mike1,

Thanks for feedback. Please let us investigate then get back to you asap!

Best,
Alex

Hi @mike1,

Sorry but this issue is not reproducing on our side. Could you please try to make sure the provided keys in the Plugins Tab are the right ones, meaning your own account keys.

For testing purposes, you can try to build a simple RepeatingGroup to pull the data from your Box account, so that when you upload a file, it is automatically added to your account and pulled from as well.

You can use these demo setups here: https://bubble.io/page?name=box-app-storage&id=zeroqode-demo-02&tab=tabs-1

Best,
Alex

When attempting to replicate this as per your demo app I tried to populate my Repeating Box conditionally as per your demo app I do not see any Box data calls.

Screenshot from your app:

Video of my app demonstrating Box plugin installed and correctly configured to retrieve token, but not showing data calls:
https://www.awesomescreenshot.com/video/3827530?key=204c40ec95f78b2fba24dba3cfa50aa5

Hi @mike1,

Thanks for the video, now it is clear.

In order to use the plugin data calls, you need to use the Get data from an external API method in Bubble, where you will be able to select all the available data calls:

Best,
Alex

I feel a bit stupid for that last one. Can you explain this though?

Hi @mike1,

Thanks for feedback. Could you please add our support@zeroqode.com account to your Settings/Collaboration list (ignore the warning message about the plan, as we are an agency and you can easily add us).

Tell us the page name and app name as well. We’ll investigate your app then get back to you asap.

Best,
Alex

Done.

The app name is Task Labour CRM. id is testtasklabour, page name is Test.

All as per the previously provided link:

Hi @mike1,

Thanks a lot for providing the access. So the there was a small issue with the RepeatingGroup data call setup. Now, everything should be fine:

Best,
Alex

Thanks @alexandru can you provide some more info on what the issue was?

Hi @mike1,

Sure. The Type of content was a different one.

Is everything working properly now? Let me know please.

Best,
Alex

Hi Alex - yes I can confirm that it works now (although I will have to try to figure out why there are two “List of Get Folder Items entire (Box App)” types…)

However, my problem from my post on May 16 is still current, anything I upload using Bubble Box plugin can’t be seen by your plugin and vice versa.

For example, as per above the RepeatingGroup on my test page shows files from folder id 0:

And after executing, this looks like this:
image

However, when i attempt to find the “ab.svg” file shown above in the same folder in the Box.com portal, it doesn’t exist, and furthermore, all the files and folders that are shown in the folder in the Portal, do not show in the RepeatingGroup:

Why is this?

Hi @mike1,

Thanks for getting back. Sorry about this one, perhaps there is something wrong with the keys. Can you please let us investigate it a bit deeper then get back to you asap.

We’ll check on it with our developers as well. :pray:

Best,
Alex