Trying to UPLOAD to the Printify API

I’m trying to make a page and workflow that prompts the user to upload an image. Any kind. Then it’s uploaded to BubbleDB and then FROM THERE uploaded to Printify API via the API. But this doesn’t work.

image


This is the form. When the USER submits the form it’s supposed to trigger a workflow

Workflow.


Step 1

Step 2

Step 3

Step 4

When the USER presses the Save Button on the form This happens




image

Am I missing something? Do I need to put everything I need for the API in a STATE first?

It sounds like incorrect api endpoint setup. Share how you set up and initialized the api connector for this endpoint.

This is my API Connector Setup. For now I have an API key that leads to my account, but I want to eventually change this to the USER’s API key… Anyways…

This is the endpoint on the Printify API.

I have tried the same settings (more or less) and it worked. But I guess one slight difference might be this: there is a problem when you get an image URL from Bubble it starts with // instead of https://. If you add it, it might work. Below are my settings :slight_smile:

And here is how I call it. See the http: addition to the url:
image

1 Like

When I try the endpoint from the API connector plugin and NOT the UI it works. Strange that.


Then again, check the https: at the beginning of the image URL.

That Worked, Thank you!

[SOLVED]

1 Like