Getting 415 error on testing

We used k6 recorder to record the scenario where when a user watches a video the analytics processes it every 30 seconds to check the status, but while testing the analytics is giving 415 error.

Can you share some more details? Specifically, a sanitized copy of the k6 script produced and the underlying HAR file?

Error 415 probably means that the used Content-Type was not correct, so probably something wasn’t translated correctly: 415 Unsupported Media Type - HTTP | MDN

Hi @tjoshi92 ,

The content-type you are showing on the second screenshot looks, strange to me. I would expect it will be just application/json or maybe application/json;charset=utf-8 . Can you try with one or the other?

Also how did you get this value?