Navigation

    APPDRAG Community

    • Register
    • Login
    • Search
    • Categories
    • Recent
    • Popular

    REMINDER

    Please be respectful of all AppDragers! Keep it really civil so that we can make the AppDrag community of builders as embracing, positive and inspiring as possible.

    AppDrag.js violation

    General Discussion
    2
    3
    235
    Loading More Posts
    • Oldest to Newest
    • Newest to Oldest
    • Most Votes
    Reply
    • Reply as topic
    Log in to reply
    This topic has been deleted. Only users with topic management privileges can see it.
    • Dick Honing
      Dick Honing last edited by

      Hi there,

      I'm try to get a JSON array from one off my API's, but I keep getting the following error:

      [Violation] 'setTimeout' handler took 72ms

      And instead of getting a proper JSON array, the data is preceded by loads of {…}, {…}, {…}, {…}, {…}, {…}, {…}

      Does anybody know what I might be doing wrong and how to fix this?

      Thanks in advance and best regards - Dick

      screenshot from Chrome debugger to further illustrate the issue ...Screenshot 2020-11-03 at 21.44.00.png

      J 1 Reply Last reply Reply Quote 0
      • J
        jbenguira @Dick Honing last edited by jbenguira

        @Dick-Honing hey

        This is just a warning and have no consequences
        More details here:
        https://stackoverflow.com/questions/42218699/chrome-violation-violation-handler-took-83ms-of-runtime

        Also I can see on your screenshot that all the results rows are correctly returned ... But you are not doing anything with it except parsing to a javascript array and printing to the console

        About the results you see in the console they are collapsed, if you click on them you can uncollapse them and check content

        1 Reply Last reply Reply Quote 0
        • Dick Honing
          Dick Honing last edited by

          @jbenguira thanks for the info. I found the problem (in my code) and got it to work 🙂

          1 Reply Last reply Reply Quote 1
          • First post
            Last post