OPEN AI <> Wordpress

Hello everyone,

I have been encountering an issue with Make while trying to update taxonomies on my WordPress site and am in need of some assistance to troubleshoot this problem. My goal is to send content generated via ChatGPT to my site. Everything works smoothly until the point of data transmission to WordPress - nothing gets sent over. Despite having data in the input, the output comes out empty. Oddly enough, there aren’t any error messages being displayed which leaves me at a loss.



Has anyone experienced a similar issue or has any insights on what could be going wrong? I am open to trying out different solutions or approaches to get this resolved. Your expertise and suggestions would be highly appreciated.

Interestingly, I have observed a peculiar behavior where the data transmission succeeds when sending simpler data—specifically, data without tags or of shorter length. However, the issue arises when attempting to send more complex or longer data. This has led me to wonder if there might be a limitation or a particular configuration that I might be overlooking.

Thank you in advance for your time and help!

Warmest regards,

Welcome to the Make community!

What is the repeater module [15] doing?

Looks like the Wordpress body is incorrect, you should be sending HTML, not JSON (first screenshot).

1.

Please share screenshots of the 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:
Screenshot_2023-10-07_111039

2.

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

Screenshot_2023-08-24_230826

Uploading it here will look like this:

blueprint.json (12.3 KB)

3.

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

Screenshot_2023-10-06_141025

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

3 Likes

Hello,

Thanks for reply

Input Bundles :

[
{
“qs”: [
{}
],
“url”: “/ville/218”,
“body”: “{"description": \n\n Les Avantages des Maisons de Retraite et EHPAD à Antibes \n\n\n

L’Éden de la Retraite à Antibes

\n

\nSi vous cherchez une résidence pour personnes âgées qui combine à la fois tranquillité et proximité des infrastructures, les maisons de retraite et EHPAD d’Antibes sont faites pour vous. Cette ville de la Côte d’Azur offre en effet une douceur de vivre idéale pour les seniors.\n

\n\n

Une Localisation Privilégiée sur la Côte d’Azur

\n

\nLes maisons de retraite et les EHPAD à Antibes jouissent d’une localisation exceptionnelle. Située entre Nice et Cannes, Antibes, avec son climat méditerranéen, offre des hivers doux et une luminosité optimale tout au long de l’année. Cette ville portuaire allie l’attrait de la mer à une riche histoire, offrant ainsi de nombreuses opportunités de promenades et de découvertes culturelles.\n

\n\n

Une Nature Accessible et Variée

\n

\nAntibes offre un cadre naturel incomparable, idéal pour les résidents en maison de retraite ou en EHPAD. Les parcs tels que le parc du Pigeonnier, le parc Floral de Nice ou encore les jardins du Musée Picasso offrent de belles balades en plein air. La mer à proximité permet également de profiter d’agréables moments à la plage lors des beaux jours.\n

\n\n

Une Ville au Riche Patrimoine Culturel

\n

\nAntibes s’illustre également par son offre culturelle dense. Les musées, le vieux château sont des attractions incontournables pour les passionnés d’histoire et de culture. Le Musée Picasso, par exemple, offre des expositions temporaires tout au long de l’année pour le plus grand plaisir des résidents en maison de retraite.\n

\n\n

Des Infrastructures de Santé à Proximité

\n

\nConfier la prise en charge de ses aînés à une maison de retraite ou un EHPAD à Antibes, c’est également garantir leur sécurité. Ils bénéficieront d’un accès facile à des soins médicaux grâce à la présence de nombreux établissements médicaux réputés dans la région.\n

\n\n

Conclusion

\n

\nAvec son climat doux, son cadre naturel varié et son patrimoine culturel riche, Antibes est la ville de prédilection pour les aînés. Les maisons de retraite et les EHPAD d’Antibes proposent en outre un accompagnement adapté et de qualité garantissant bien-être et sécurité à leurs résidents.\n

\n\n\n}”,
“method”: “POST”,
“headers”: [
{
“key”: “Content-Type”,
“value”: “application/json”
}
]
}
]

Output Budles :

[
{
“body”: {
“id”: 218,
“count”: 9,
“description”: “”,
“link”: “https://retraitecap.com/ville/antibes/”,
“name”: “ANTIBES”,
“slug”: “antibes”,
“taxonomy”: “ville”,
“parent”: 0,
“meta”: ,
“acf”: ,
“_links”: {
“self”: [
{
“href”: “https://retraitecap.com/wp-json/wp/v2/ville/218
}
],
“collection”: [
{
“href”: “https://retraitecap.com/wp-json/wp/v2/ville
}
],
“about”: [
{
“href”: “https://retraitecap.com/wp-json/wp/v2/taxonomies/ville
}
],
“wp:post_type”: [
{
“href”: “https://retraitecap.com/wp-json/wp/v2/hebergement?ville=218
}
],
“curies”: [
{
“name”: “wp”,
“href”: “https://api.w.org/{rel}”,
“templated”: true
}
]
}
},
“headers”: {
“connection”: “close”,
“x-powered-by”: “PHP/8.1.21”,
“cache-control”: “no-cache”,
“x-litespeed-vary”: “cookie=np_wc_currency,cookie=np_wc_currency_language,cookie=_icl_current_language, value=nitrodesktop”,
“x-litespeed-cache-control”: “no-cache”,
“x-robots-tag”: “noindex”,
“link”: “https://retraitecap.com/wp-json/; rel="https://api.w.org/\”",
“x-content-type-options”: “nosniff”,
“access-control-expose-headers”: “X-WP-Total, X-WP-TotalPages, Link”,
“access-control-allow-headers”: “Authorization, X-WP-Nonce, Content-Disposition, Content-MD5, Content-Type”,
“set-cookie”: [
“wordpress_2504d601d9d9ef2c50c061466d041c82=%20; expires=Mon, 17-Oct-2022 12:03:37 GMT; Max-Age=0; path=/wp-admin; secure”,
“wordpress_sec_2504d601d9d9ef2c50c061466d041c82=%20; expires=Mon, 17-Oct-2022 12:03:37 GMT; Max-Age=0; path=/wp-admin; secure”,
“wordpress_2504d601d9d9ef2c50c061466d041c82=%20; expires=Mon, 17-Oct-2022 12:03:37 GMT; Max-Age=0; path=/wp-content/plugins; secure”,
“wordpress_sec_2504d601d9d9ef2c50c061466d041c82=%20; expires=Mon, 17-Oct-2022 12:03:37 GMT; Max-Age=0; path=/wp-content/plugins; secure”,
“wordpress_logged_in_2504d601d9d9ef2c50c061466d041c82=%20; expires=Mon, 17-Oct-2022 12:03:37 GMT; Max-Age=0; path=/; secure”,
“wordpress_logged_in_2504d601d9d9ef2c50c061466d041c82=%20; expires=Mon, 17-Oct-2022 12:03:37 GMT; Max-Age=0; path=/; secure”,
“wp-settings-0=%20; expires=Mon, 17-Oct-2022 12:03:37 GMT; Max-Age=0; path=/; secure”,
“wp-settings-time-0=%20; expires=Mon, 17-Oct-2022 12:03:37 GMT; Max-Age=0; path=/; secure”,
“wordpress_2504d601d9d9ef2c50c061466d041c82=%20; expires=Mon, 17-Oct-2022 12:03:37 GMT; Max-Age=0; path=/; secure”,
“wordpress_2504d601d9d9ef2c50c061466d041c82=%20; expires=Mon, 17-Oct-2022 12:03:37 GMT; Max-Age=0; path=/; secure”,
“wordpress_sec_2504d601d9d9ef2c50c061466d041c82=%20; expires=Mon, 17-Oct-2022 12:03:37 GMT; Max-Age=0; path=/; secure”,
“wordpress_sec_2504d601d9d9ef2c50c061466d041c82=%20; expires=Mon, 17-Oct-2022 12:03:37 GMT; Max-Age=0; path=/; secure”,
“wordpressuser_2504d601d9d9ef2c50c061466d041c82=%20; expires=Mon, 17-Oct-2022 12:03:37 GMT; Max-Age=0; path=/; secure”,
“wordpresspass_2504d601d9d9ef2c50c061466d041c82=%20; expires=Mon, 17-Oct-2022 12:03:37 GMT; Max-Age=0; path=/; secure”,
“wordpressuser_2504d601d9d9ef2c50c061466d041c82=%20; expires=Mon, 17-Oct-2022 12:03:37 GMT; Max-Age=0; path=/; secure”,
“wordpresspass_2504d601d9d9ef2c50c061466d041c82=%20; expires=Mon, 17-Oct-2022 12:03:37 GMT; Max-Age=0; path=/; secure”,
“wp-postpass_2504d601d9d9ef2c50c061466d041c82=%20; expires=Mon, 17-Oct-2022 12:03:37 GMT; Max-Age=0; path=/; secure”
],
“content-type”: “application/json”,
“content-length”: “590”,
“date”: “Tue, 17 Oct 2023 12:03:37 GMT”,
“server”: “LiteSpeed”,
“platform”: “hostinger”,
“content-security-policy”: “upgrade-insecure-requests”,
“alt-svc”: “h3=":443"; ma=2592000, h3-29=":443"; ma=2592000, h3-Q050=":443"; ma=2592000, h3-Q046=":443"; ma=2592000, h3-Q043=":443"; ma=2592000, quic=":443"; ma=2592000; v="43,46"”
},
“statusCode”: 200
}
]

Description is empty…;

Workflow :

blueprint.json (37.2 KB)

Sorry, I can’t use the Input/Output Bundles as it isn’t valid JSON (checked when pasted into https://jsonformatter.org)

1.

Could you format your JSON by editing three backticks ``` before and after the code, like this:

```
input/output bundle goes here
```

2.

or use the format code button in the editor:
Screenshot_2023-10-02_191027

3.

Alternatively, you can paste and save the contents of the bundles in your text editor as a text file, and upload it here into this discussion thread.

2 Likes