What are you trying to achieve?
I’m trying to POST open AI request and get answer via API. As soon as I succeed with JSON test website like https://reqbin.com/ I don’t succeed with Make flow.
Question: I attach the screenshot. Any ideas why I’m getting 404 ?
Authorization is already included in gpt connection however I have tried to apply it anyway - doesn’t work
Steps taken so far
- used JSON test tools - everything working fine
- used ChatGPT request - didn’t help
- checked every field in ChatGPT API request - didn’t help
Screenshots: scenario setup, module configuration, errors
basically the same API request in Postman getting 200
What I’m doing wrong ?
found the answer. Expected URL is v1/chat/completions not the full URL itself
Welcome to the Make community, and a great first question and answer!
Here’s a further explanation of the problem:
You inserted an Absolute (full) URL into the URL field.
If you read the description below it, it says:
Enter a path relative … for example …
So you simply need to omit the first part of the URL that will be added for you.
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.
2 Likes