Hello! I am using the API Connector Plugin. But I keep getting the error that I dont have the model defined.
Error Returned…
There was an issue setting up your call.
Raw response for the API
Status code 400
{
“error”: {
“message”: “you must provide a model parameter”,
“type”: “invalid_request_error”,
“param”: null,
“code”: null
}
}
Headers
Content-Type: application/json
Authorization type : Bearer ######
Thank you for replying with that tip. I did replace the curly quotes with the straight quotes. But when I go to initialize the call I get the same error. I have also pasted the screenshot of what I have entered.
I am following along with a you tube video, doing exactly the same thing (at least I think so:)
There was an issue setting up your call.
Raw response for the API
Status code 400
{
"error": {
"message": "you must provide a model parameter",
"type": "invalid_request_error",
"param": null,
"code": null
}
}
Can you show what you are sending to API? In the first and second screenshot, your JSON is not correct.
Also, be sure your content-type header is correctly formated. In content, are you adding " around it in value? Or are you using :json formatted safe? (But in API Connector, you need to be sure value is correctly encoded and have " " around it)