Robotframework post error“:“Internal Server Error“,“message“:“syntax error, expect

In the post request,
‘content type’: ‘application/JSON; Charset = UTF-8 ‘
data = ${data} is used to transfer parameters, resulting in an error

Error “:” internal server error “,” message “:” syntax error, expect

After changing data=data to json{data}, the execution succeeds
PS: in the post request, data parameters need to be transferred according to the content type

Read More: