# ChatGPT-4o HTTP request breaks when I map something in the "Request content"

**URL:** <https://community.make.com/t/chatgpt-4o-http-request-breaks-when-i-map-something-in-the-request-content/38277>\
**Category:** Questions\
**Tags:** open-ai, chatgpt, ai\
**Created:** [May 21, 2024, 1:56pm UTC](https://community.make.com/t/chatgpt-4o-http-request-breaks-when-i-map-something-in-the-request-content/38277 "2024-05-21T13:56:27Z")\
**Posts on this page:** 3\
**Page:** 1

<div class="post-metadata">

**Author:** ![Zsolt\_Doman](https://avatars.discourse-cdn.com/v4/letter/z/47e85d/32.png) [@Zsolt\_Doman](https://community.make.com/u/Zsolt_Doman)\
**Post date:** [May 21, 2024, 1:56pm UTC](https://community.make.com/t/chatgpt-4o-http-request-breaks-when-i-map-something-in-the-request-content/38277/1 "2024-05-21T13:56:27Z")

</div>

Hello!

So I know there are some problems with the 4o ChatGPT and the [make.com](http://make.com) team are working on it. But I can’t seem to get the workaround work 😃 .

So my scenario:

 ![image](https://europe1.discourse-cdn.com/flex013/uploads/make/original/3X/4/8/48a1110d8560886b81a7faf7b7840998277f2e57.png)  
Upload mp3 → Transcript whisper → Look for misspells → HTTP for 4o to create Facebook post drafts.

When I map something in the request area I get this error: “We could not parse the JSON body of your request. (HINT: This likely means you aren’t using your HTTP library correctly. The OpenAI API expects a JSON payload, but what was sent was not valid JSON. If you have trouble figuring out how to fix this, please contact us through our help center at [help.openai.com](http://help.openai.com).)”

But this only happens when I map something inside. And for some strande reason the input is correct, so it isn’t wrong, so the mapping is done, but when I run the scenario I get the error.

 ![image](https://europe1.discourse-cdn.com/flex013/uploads/make/original/3X/d/c/dc0ed500b0a623fa1c3553076ecd507d8cce21fb.png)

 ![image](https://europe1.discourse-cdn.com/flex013/uploads/make/original/3X/4/7/47b3738d88b4c3e70209d1e9304aa35a8fdf89e5.png)

What am I doing wrong here? Isn’t this the workaround you guys are mentioning?

---

<div class="post-metadata">

**Author:** ![samliew](https://dub1.discourse-cdn.com/flex013/user_avatar/community.make.com/samliew/32/13327_2.png) [@samliew](https://community.make.com/u/samliew)\
**Post date:** [May 21, 2024, 3:35pm UTC](https://community.make.com/t/chatgpt-4o-http-request-breaks-when-i-map-something-in-the-request-content/38277/2 "2024-05-21T15:35:25Z")

</div>

See [Replacing/Escaping double quotes - #5 by samliew](https://community.make.com/t/replacing-escaping-double-quotes/38187/5) on how to escape a variable before you map it into another manually-built JSON.

[samliew](https://samliew.com/services) – [request private consultation](https://samliew.com/request-quote?ServiceType=Automation%20Consultation&Referrer=Make)

> Join the unofficial [Make Discord server](https://samliew.com/make-discord-invite) to chat with other makers!

---

<div class="post-metadata">

**Author:** ![Make\_Bot](https://dub1.discourse-cdn.com/flex013/user_avatar/community.make.com/make_bot/32/14661_2.png) [@Make\_Bot](https://community.make.com/u/Make_Bot)\
**Post date:** [August 19, 2024, 3:49pm UTC](https://community.make.com/t/chatgpt-4o-http-request-breaks-when-i-map-something-in-the-request-content/38277/3 "2024-08-19T15:49:03Z")

</div>


