Why is API call being stringified? | Community
Skip to main content
Lawson02
Level 6
January 24, 2025
Solved

Why is API call being stringified?

  • January 24, 2025
  • 1 reply
  • 368 views

I am trying to call the OpenAI GPT-4 model and my request body is being stringified, how do I fix this to send correct JSON request body? First screenshot is module, second is strigified request body, last screenshot is what the correct call looks like. I am not using the last one because it would not let me update the temperature/top_p value in the "create chat completion" module.

 

 

This post is no longer active and is closed to new replies. Need help? Start a new post to ask your question.
Best answer by Lawson02

I was using their built in API call module for OpenAI. There was a bug in the module causing the call to be stringified. I worked with customer support and they resolved the bug and they released a patch.

1 reply

Sven-iX
Community Advisor
Community Advisor
March 3, 2025

@lawson02 

Not enough context/info to help troubleshoot. 

  • what's the module you're using? 
  • what does the module execution bubble show?

 

When I use a plain HTTP module with a JSON payload it arrives as expected ...

 

 

Lawson02
Lawson02AuthorAccepted solution
Level 6
March 3, 2025

I was using their built in API call module for OpenAI. There was a bug in the module causing the call to be stringified. I worked with customer support and they resolved the bug and they released a patch.