Hi All I want to POST the below format as input in ROBOT Framework.
{
"Description": "School",
"Details": [
{
"name": "Test1",
"Surname": "XYZ"
},
{
"name1": "Test2",
"Surname2": "ABC"
}
]
}
But I am getting the below error
body={"Error":"module 'jsonschema._utils' has no attribute 'types_msg'"}
Below is my code for the same
${tag_1} = create dictionary name="Test1" value"XYZ"
${tag_2} = create dictionary name="Test2" value"ABC"
${body} = create list Description="School" Details=[$tag_1,$tag_2]
${header}= create dictionary Authorization=%{TEMP_TOKEN} content-Type=application/json
${create_student}= post On Session ABCDE /input json=${body} headers=${header} expected_status=200
name=Test1is enough and your quotes might cause issues later.