HTTP Make A Request / API call 200 error


I’m trying to connect to an API that will allow me to resize generated images using the HTTP make a request.

The API documentation is here ( and instructs me to use this code:
To Enlarge API

curl F ‘conf={“style”: “art”, “noise”: “3”, “x2”: “1”, “input”: “YOUR_IMAGE_URL”}’

conf is JSON format

  • style can be ‘art’, ‘photo’ which means ‘cartoon illustration’, ‘photo’
  • noise can be ‘-1’, ‘0’, ‘1’, ‘2’, ‘3’ which means ‘None’, 'Low, ‘Medium’, ‘High’, ‘Highest’
  • x2 can be ‘1’, ‘2’, ‘3’, ‘4’ which means 2x, 4x, 8x, 16x
  • input your enlarge image url

I have filled out the fields for the HTTP make a request module as outlined in the attached screenshots and the inputs and output are as follows:

Bundle 1Collection
Self-signed certificate empty
Query StringArray
Request content {
“style”: “art”,
“noise”: “1”,
“x2”: “4”,
“input”: “
Request compressed content true
Method post
name x-api-key
value MY API KEY
Timeout empty
Use Mutual TLS false
Password empty
User name empty
Body type raw
Content type application/json
Serialize URL false
Share cookies with other HTTP modules false
Parse response true
Follow redirect true
Disable serialization of multiple same query string keys as arrays false
Follow all redirect false
Reject connections that are using unverified (self-signed) certificates true

Bundle 1Collection
Status code 200
name server
value nginx
name date
value Sun, 02 Apr 2023 00:34:21 GMT
name content-type
value application/json; charset=UTF-8
name content-length
value 25
name connection
value close
Cookie headersArray
status param_error
fileSize 25

As you can see I am received a 200 param_error, which seems to indicate that some of the process if correct but some parameters are wrong.

I’ve tried different URLS for the image for {{}}(however I’m not sure if I am inputting it in the proper formatting).

Also I have hidden / replaced my API key here with MY API KEY, however I assure you that I have entered the API key into the module.

Is there any suggestion you have to make this work?

When asking your question, please include:

:footprints: The steps you have taken
:camera_flash: Relevant screenshots
:link: Any links you have
[ Code { "and": "JSON", "in" : "code block"} ]
:x: Exclude Personal Information.

The -F flag in cURL corresponds to form i.e multipart/form-data. Try this in your HTTP Module instead,

1 Like

Thanks for the suggestion.

I tried it both as you suggested and as multipart/form data and still get error 200 param_error. Any other ideas welcome! This is a real head scratcher.

I tried with the default data that was in the original request in the documentation and I was getting the expected results.

Can you try this blueprint :

blueprint (30).json (9.8 KB)

Also, I am getting the same error though if I change the x2 to a higher value other than 2. I think it might be due to the restriction on BigJPG end, not sure if that is the case though.

1 Like

This is great. I managed to get it to work as you instructed but am puzzled on how to retrieve the file.

I’ve set up a HTTP GET request, trying to follow what the API instructions may be saying:

Result Query API Python Demo


  • yellow part is the task id returned by the API above

That seems to be succeeding, however it does not return a URL. And when I connect that to a HTTP get a file module and direct it at the data output I get a BundleValidationError.

Is my HTTP GET request the incorrect thing to do?

Any thought here? I appreciate your help - you’ve been a real hero so far.

It is due to delay in file conversion at BigJPG end. Not sure how it works API wise but you might consider getting in contact with BigJPG team on how long it takes to get the conversion done.

I am not sure whether it will work 100% all the time, what you can do is add a Sleep Module after the Initial Conversion HTTP module, and then after 10/20/30 seconds try to fetch the task.

Not sure, it it is related but in the initial HTTP module for conversion, you get a field named minute, which I believe denotes how long it takes the task to complete in BigJPG end?


You’re a genius. That was totally it. Thank you soooo much! :slight_smile: