Hello all. I’ve been dealing with this issue for about a week now. When I try to add a WordPress connection, it displays “Failed to load data! Function ‘getPostTypes’ finished with error! Response body is not in JSON.” in the Type field for the module. When I look at the connection itself, it shows a massive block of HTML in the name of the connection.
Things I’ve tried, in no particular order:
- Disabling all WordPress plugins, except the Make Connector
- Deleting all WordPress plugins, then adding back the Make Connector only
- Deleting the Make WordPress module and connection and creating it again
- Tried different variations of the URL in the connection module, including and excluding /wp-json/
- Cleared the cache on WordPress
- Opened a ticket with Make (they insisted I must not have disabled all of my WordPress plugins, even after I sent a screenshot showing I did disable them, and they have since stopped communicating with me)
I asked on Reddit as well, to no avail. I’m open to suggestions.
Welcome to the Make community!
For technical issues or bugs like this, directly contacting support can often lead to a faster resolution. They have access to your specific account details, scenario and scenario logs, server-side logs, and internal tools and resources, which allows them to investigate more thoroughly than what you have access to. Additionally, sharing sensitive information about your account or scenario might not be suitable for an open forum discussion.
You can open a new ticket here, or if you are unable to login for some reason, you can create another new free account to access the ticketing system (which is only available to logged-in users). After submitting a new ticket, you will receive an automatic confirmation email with the subject “Ticket Created” in the subject. If you do not receive this, try sending the ticket again.
If you manage to get your issue resolved with support, we’d still love to hear about it! Sharing your solution on the forum can help others facing similar problems.
Hope this helps! Let me know if there are any further questions or issues.
— @samliew
P.S.: Investing some effort into the Make Academy will save you lots of time and frustration using Make.
As previously mentioned, I already opened a ticket on this issue. I came here asking for help because they had stopped responding to me.
I actually spent close to 11 hours on Saturday troubleshooting this issue. I’m not kidding. I deleted the connection and created a new one. I tried deleting the Make Connector plugin from WordPress and reinstalling it, and then setting up the API connection again in Make. I enlisted the help of YouTube and ChatGPT for some error handling methods and WordPress design tips that I thought might help, and then later to be able to alter some code in the wp-config.php file in my site directory to try to enable debug logging and to set up a debug.log file manually when it wasn’t auto-generated. I even set up a Postman account so that I could do some API debugging, and I checked my web host for server-side errors that might have occurred. I made sure everything in WordPress was set up appropriately and my user profile had the correct permissions to post. I rebuilt my WordPress site from the ground up.
And you know what? It seems to be resolved right now. And you want to know why? I made a second WordPress API connection on the Make WordPress module using HTTPS instead of HTTP in the API URL. I ran the scenario and it posted successfully. It was so easy, and I feel so stupid for not having tried it sooner.
Kids, learn from me. Check for the simple solutions first before assuming it’s something complicated.
2 Likes