Azure OpenAI API key not working

I am new to Cursor. I configured my Azure OpenAI key.

But it is giving me the following error:

{
  "error": {
    "message": "Unrecognized request arguments supplied: metadata, system",
    "type": "invalid_request_error",
    "param": null,
    "code": null
  }
}

What am I doing wrong? Also, there is no place where I can give the API version.

Additional details (Request Id): f7ffdae1-f661-4e16-b8af-2ca3e36366b9