Error : MALFORMED_REQUEST

Viren123
Contributor

Hello,

I get error for below json. Can you please advice what am I missing here?

{

    "error_code": "MALFORMED_REQUEST",

    "message": "Invalid JSON given in the body of the request - failed to parse given JSON"

____________________________________________________

'{

  “job_id”: 998581482524751

  “notebook_params”: {

     “myinput”: “Hello

  }

}'

____________________________

Thank you

Pat
Esteemed Contributor

Hi @Viren Devi​ ,

not sure 100% about the POSTMAN, but as you can see first character is highlighted.

are you trying to pass parameter as `raw`? hence why the bullet next to `raw` is selected.

thanks,

Pat.

Viren123
Contributor

Thank you Pat. I just realised I had copy pasted the code and it didnt quite copy 1:1. In copy paste double quotes were appeared to be copied but behind the scene, it was some other character. Nothing wrong with the code. It works

View solution in original post