After migrating zk8.6.0.1 to 9.0 i am facing this error before logging

asked 2019-12-31 19:21:38 +0800

Tharun gravatar image Tharun

The response could not be parsed: Expected JSON format (please check console for details). Unexpected token '<':

delete flag offensive retag edit

1 Answer

Sort by ยป oldest newest most voted

answered 2020-01-02 10:32:49 +0800

cor3000 gravatar image cor3000
5069 2 7
ZK Team

Those errors originate from ZK's (ajax)update requests to /zkau. The < indicates that the response contains HTML instead of the JSON like response ZK's client engine expects - likely an error page with a server error 500 or authentication error 401.

In your browser's network tab you'll see the request to /zkau it will contain the event sent to the server and the response body received from the server. This response body - assuming it is HTML - will also contain a human readable error message.

Also your server side logs could contain some information about what went wrong.

link publish delete flag offensive edit
Your answer
Please start posting your answer anonymously - your answer will be saved within the current session and published after you log in or create a new account. Please try to give a substantial answer, for discussions, please use comments and please do remember to vote (after you log in)!

[hide preview]

Question tools

1 follower



Asked: 2019-12-31 19:21:38 +0800

Seen: 11 times

Last updated: Jan 02

Support Options
  • Email Support
  • Training
  • Consulting
  • Outsourcing
Learn More