Printify error, variable must be an integer

Running into an error when trying to print a shirt onto printify

  • The operation failed with an error. [400] The must be an integer. | The must be an integer. | The must be an integer. | The must be an integer. | The must be an integer. | The must be an integer. | The must be an integer. | The must be an integer. | The must be an integer. | The must be an integer. | The must be an integer. | The must be an integer.

I rebuilt the module a few times, but continue getting this…

I had MAP turned off and manually chose the color/size in there but it changes to map no matter what i do.

Well, that definitely looks like an integer, but might be sent as a string type.

Try using parseNumber to force it into a number, and/or ensure no whitespace is after the numbers.


If you need further assistance, please provide the following:

1. Scenario blueprint

Please export the scenario blueprint file to allow others to view the mappings and settings. At the bottom of the scenario editor, you can click on the three dots to find the Export Blueprint menu item.

(Note: Exporting your scenario will not include private information or keys to your connections)

Uploading it here will look like this:

blueprint.json (12.3 KB)

2. And most importantly, Output bundles

Please provide the output bundles of the modules by running the scenario, then click the white speech bubble on the top-right of each module, save the bundle contents in your text editor as a bundle.json file, and upload it here into this discussion thread.

Providing the output bundles will allow others to replicate what is going on in the scenario even if they do not use the external service.

Following these steps will allow others to assist you here. Thanks!


@Overkill_Gaming Can you turn off Map and show us what happens? Maybe in a short video.

Either there is a data type mismatch (bug) in the module, or maybe you could be using an incorrect value and it’s expecting something else.


Here is a screenshot with map turned off - and map on underneath on variable 2.

@samliew Here is the blueprint if you want to take a look at it.

blueprint (1).json (123.3 KB)

Finally got it working but it’s printing blank apparel.

Is it an issue with stable diffusion, or an issue with it registering the “RAW TEXT” since it doesn’t name it “URL”?

It does upload the image properly:
URL at the top of this image here:

But the preview doesn’t appear correct, Preview URL here:

Create the product:

Proper ID based on the uploaded image ID

Print Result:

Here is the EXACT blueprint for the one i’m testing right now
blueprint (3).json (59.5 KB)

Try using static values first, see what works and what doesn’t. Then you can figure out if its an issue with the data you are providing (so the workflow) or if its an issue at the side of printify.


I tried static, but it automatically switched the map input afterwards when i close the module by accepting the changes with the “OK” button.

I fixed MOST of my issues, but here’s a new one for ya…

EVERYTHING succeeded, but it’s printing a blank shirt on printify…

blueprint (5).json (60.0 KB)

This is the same issue as above, but a more… BASIC scenario… It’s something to do with stable diffusion mixed with printify i’m guessing? If i use generic chatgpt/openai it prints.

Solution: Had to add a “SLEEP” between uploading the image on printify and creating the product for 60 seconds. Gives time for the image to upload and update!

Not sure how to close this but if there is a way feel free to tag me and I’ll close it out.

Thanks for all the assistance everyone!


Hey there @Overkill_Gaming :wave:

just thought I might step in and pat you on the back for the great job you did while figuring out these troubles with the help of our amazing @Bjorn.drivn and @samliew. :clap:

Thank you so much for coming back here and sharing the solution with us. This way we keep our community tidy and neat for other users and their search for solutions.

Keep up the great work! :sunflower: