Using $.ajax getting 500 error

Using $.ajax getting 500 error

error code: 523