Hello!
I use Python 3.6.3 on the wildfly server.
I have two different REST services. When I call one of them (getMC) on the SoapUI, there occurs an error. I found a piece of JSON which causes it, but I don't know and don't understand why.
Bad piece of JSON:
Error occurs in this line of my Python script:
Do you have any idea how to solve my problem? If you need more details, feel free to ask.
Full not-working JSON:
I use Python 3.6.3 on the wildfly server.
I have two different REST services. When I call one of them (getMC) on the SoapUI, there occurs an error. I found a piece of JSON which causes it, but I don't know and don't understand why.
Bad piece of JSON:
Quote:"cookieId": "1548768911871854",
// sth more
Error occurs in this line of my Python script:
jattrs = request.get_json()Error message:
Error:json.decoder.JSONDecodeError: Expecting ',' delimiter: line 1 column 1088057 (char 1088056)
What's interesting, when I change the cookieId value (digits, letters, same length), it works. The second service with the above JSON works properly too.Do you have any idea how to solve my problem? If you need more details, feel free to ask.
Full not-working JSON:
Quote:{
"cookieId": "1548768911871854",
"firstVisit": 0,
"customerExtId": null,
"channelName": "www",
"referrer": null,
"actionMcType": null,
"offerType": null,
"actionOnProduct": null,
"pageTitle": "page title",
"pageDesc": "page description",
"pageKeywords": "page kw"
}