ChatGPT Integration Error with CALL REST (POST) Action
0
Hey guys, im currently trying to implement ChatGPT in my Microflow where i can send String messages to ChatGPT for him to categorize them for me and send them back as a response. I tried this by using the " Call Rest (POST) " action from the Toolbox but keep getting the same Error. I tried the same Call with the JSON Body on Postman and it worked there. I'd appreciate if anyone could help and point out my Mistake. Here are my Settings for Call Rest (POST): I'd be very grateful if anyone could help. Thanks a lot, bur
asked
Bur
2 answers
1
We used the activities provided by the OpenAI connector to interact with OpenAI instead of "Call REST Service", https://marketplace.mendix.com/link/component/220472, maybe give this connector a try?
answered
Lin Cheng Hong
0
Hi,
error 400 mean that you probably did something wrong in the body of the request, it may be a " missing or something else like the double "{{".
Maybe you can try to put all the content of the body in a string variable and put it in the {1} index.