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
Honored Contributor III

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

Connect with Databricks Users in Your Area

Join a Regional User Group to connect with local Databricks users. Events will be happening in your city, and you won’t want to miss the chance to attend and share knowledge.

If there isn’t a group near you, start one and help create a community that brings people together.

Request a New Group