An error occurred during scenario settings

Hi everyone, An error occurred while setting up the scenario.
I get an error like the attached image.
Function ‘getPostTypes’ completed with error: Response body is not JSON.
So please tell me how to solve this problem.
image

Welcome to the Make community!

Is this a Wordpress module by any chance? You didn’t provide sufficient information for us to go on.

To allow others to assist you with your scenario, please provide the following:

1. Relevant Screenshots

Please share screenshots of your scenario, any error messages, relevant module fields, and filters in question? It would really help other community members to see what you’re looking at.

You can upload images here using the Upload icon in the text editor:

2. Scenario Blueprint

Please export the scenario blueprint file to allow others to view the mapped variables in the module fields. At the bottom of the scenario editor, you can click on the three dots to find the Export Blueprint menu item.

3. Output Bundles of Modules

Please provide the output bundles of the modules by running the scenario (or get from the scenario History tab), then click the white speech bubble on the top-right of each module and select “Download input/output bundles”.

A. Upload as Text File

Save each bundle contents in your text editor as a bundle.txt file, and upload it here into this discussion thread.

B. Insert as Formatted Code Block

If you are unable to upload files on this forum, alternatively you can paste the formatted bundles.
These are the two ways to format text so that it won’t be modified by the forum:

  • Method 1: Type code block manually

    Add three backticks ``` before and after the content/bundle, like this:

    ```
    content goes here
    ```

  • Method 2. Highlight and click the format button in the editor

Providing the input/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!

Scenario execution URL and connection URL. Even if you check this URL, will the error problem still be solved?

Execution URL https://us1.make.com/685939/scenarios/2706327/edit
Connections URL https://us1.make.com/685939/connections

  1. Relevant screenshots
    Please check the attached image.

  2. Scenario Blueprint
    I exported the scenario blueprint.

  3. Output the module bundle
    I get an error like the one in the attached image and cannot run the scenario.

My guess is that you are using free hosting that has anti-bot protection on your hosting to prevent API use.

Your API is returning an html response as part of its bot protection. The response is actually some code that needs to run on your client before the server will allow it to access the API.

The solution is to switch to another paid hosting provider that doesn’t place such restrictions on your Wordpress site.

This is not a Make problem, it is an issue with your web hosting provider.

References:

Hope this helps! Let me know if there are any further questions or issues.

@samliew


P.S.: Did you know, the concepts of about 70% of questions asked on this forum are already covered in the Make Academy. Investing some effort into it will save you lots of time and frustration using Make later!

Regarding the issue that is causing the error this time, does it have anything to do with custom API fields?

No, your current web server is breaking the connection itself.

If you see your screenshot, the name of your connection contains HTML code. This is very bad news.

The only workaround is find another web hosting provider.

Hope this helps! Let me know if there are any further questions or issues.

@samliew


P.S.: Did you know, the concepts of about 70% of questions asked on this forum are already covered in the Make Academy. Investing some effort into it will save you lots of time and frustration using Make later!

Could the cause of the error be related to a problem with the server’s firewall? Can these 5 steps solve the problem?

1.Edit the .htaccess file. Allow access from a specific IP address by adding your IP address to the .htaccess file.

2.Use Windows Firewall to control access to specific websites.

3.Turn off the international IP access restriction setting from the server administration screen.

4.Whitelist Make’s IP addresses.

5.Using a VPN

Unlikely. Your hosting provider has implemented a blanket ban. You need to switch hosting providers to use your Wordpress instance on Make.

Of course, you are welcome to try the above steps, but it is unlikely to solve the issue.

Hope this helps! Let me know if there are any further questions or issues.

@samliew

So what other hosting provider is that?

I don’t provide recommendations on hosting providers here. Please do your own research as to which one is most suitable for your requirements.