JSON RESPONSE ERROR TN 1

JSON RESPONSE ERROR TN 1

andrea14andrea14 Posts: 4Questions: 0Answers: 0

Hello everybody,
I have had a problem for months that I can't solve.

I use a web application and sometimes the system crashes with the following error:

invalid json response / tn / 1

the problem is that it doesn't always do this but it always happens at certain times, from evening to all night, during the day it works regularly.

can someone give me a hand?

Replies

  • kthorngrenkthorngren Posts: 21,351Questions: 26Answers: 4,955

    Have you followed the troubleshooting steps in the technote?
    https://datatables.net/manual/tech-notes/1

    What did you find?

    The JSON response is coming from the server. So its either a malformed JSON response or the server is returning some sort of error. Most likely you will need to look at your server logs to determine where to troubleshoot. Could be your server script is generating an error.

    Kevin

  • andrea14andrea14 Posts: 4Questions: 0Answers: 0

    thanks for your answer, yes I followed the procedure, and I got this result that I attach image.

    however it happens only in the evening, it's really strange, if it was a problem with the program, I should always have the error and not just in the evening at the same time, right?

    thank you!!

  • andrea14andrea14 Posts: 4Questions: 0Answers: 0

  • kthorngrenkthorngren Posts: 21,351Questions: 26Answers: 4,955

    if it was a problem with the program, I should always have the error and not just in the evening at the same time, right?

    Looks like the response might be a login form. This is not something from the client side Datatables. You can use third party tools like curl or postman to help troubleshoot while the error is happening. The problem is not from the client browser or Datatables.

    Kevin

  • andrea14andrea14 Posts: 4Questions: 0Answers: 0

    I have no idea, I really checked everything. I repeat, the strange thing is that every evening at 20 the system is interrupted, the next morning everything is ok. could it be some server configuration?

  • kthorngrenkthorngren Posts: 21,351Questions: 26Answers: 4,955

    ITs hard to say what the problem might be without knowing your environment. Maybe server logs will help ro you might need to do some active testing while the problem is occurring.

    Kevin

Sign In or Register to comment.