Steps to reproduce:
I copied the chat completion code directly from the docs - https://docs.mistral.ai/platform/client
I ran MISTRAL_API_KEY="blah" node file.js
I get the error in the title of this post.
Attached is my complete output(with api key redacted), here is the short form error:
type: 'invalid_request_filter',
param: null,
code: 2201,
object: 'error',
message: 'Request body is not a valid query'
}```
Happens with both of these node versions(modified with nvm):
v21.4.0
v18.16.0