cancel
Showing results forย 
Search instead forย 
Did you mean:ย 
Data Engineering
Join discussions on data engineering best practices, architectures, and optimization strategies within the Databricks Community. Exchange insights and solutions with fellow data engineers.
cancel
Showing results forย 
Search instead forย 
Did you mean:ย 

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

1 ACCEPTED SOLUTION

Accepted Solutions

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

2 REPLIES 2

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