Navigation

    Logo
    • Register
    • Login
    • Search
    • Recent
    • Tags
    • Unread
    • Categories
    • Unreplied
    • Popular
    • GitHub
    • Docu
    • Hilfe
    1. Home
    2. Deutsch
    3. ioBroker Allgemein
    4. Javascript error - SyntaxError: Unexpected token

    NEWS

    • Wir empfehlen: Node.js 22.x

    • Neuer Blog: Fotos und Eindrücke aus Solingen

    • ioBroker goes Matter ... Matter Adapter in Stable

    Javascript error - SyntaxError: Unexpected token

    This topic has been deleted. Only users with topic management privileges can see it.
    • R
      reutli @Homoran last edited by

      @homoran sagte in Javascript error - SyntaxError: Unexpected token:

      Kein Premiumaccount

      und? Das ist normal und kommt immer schon, nicht aber der Fehler

      javascript.0
      
      	2024-01-07 10:46:58.665	error	Error in request callback: SyntaxError: Unexpected token < in JSON at position 0
      
      javascript.0
      
      	2024-01-07 10:46:56.702	error	Error in request callback: SyntaxError: Unexpected token < in JSON at position 0
      
      Homoran 1 Reply Last reply Reply Quote 0
      • Homoran
        Homoran Global Moderator Administrators @reutli last edited by Homoran

        @reutli sagte in Javascript error - SyntaxError: Unexpected token:

        nicht aber der Fehler

        und wie sieht der request ind das dazugehörige result aus?
        (private Daten ggf. unkenntlich machen!)

        R 1 Reply Last reply Reply Quote 0
        • R
          reutli @Homoran last edited by reutli

          @homoran

          ich weiss ja nicht mal, aus welchem request der Fehler resultiert!

          Falls es der SolarWeb ist, dann sieht das (seit vielen Monaten unverändert) so aus:
          Bildschirmfoto 2024-01-07 um 11.00.33.png

          Deshalb hatte ich oben @Strobelix mal mit rein genommen.

          Homoran S 2 Replies Last reply Reply Quote 0
          • Homoran
            Homoran Global Moderator Administrators @reutli last edited by Homoran

            @reutli sagte in Javascript error - SyntaxError: Unexpected token:

            ich weiss ja nicht mal, aus welchem request der Fehler resultiert!

            @reutli sagte in Javascript error - SyntaxError: Unexpected token:

            script.js.PV_Überwachung.Fronius:

            @reutli sagte in Javascript error - SyntaxError: Unexpected token:

            seit vielen Monaten unverändert) so aus:

            wie?

            Und

            @reutli sagte in Javascript error - SyntaxError: Unexpected token:

            seit ein paar Tagen

            ist ein neues Jahr!
            Warum sollte Fronius da nichts geändert haben?

            EDIT: Jetzt ist das Blockly da!

            dann bau da debug Bausteine mit sinnvollem output ein um zu sehen wann die Meldung kommt

            R 2 Replies Last reply Reply Quote 0
            • R
              reutli @Homoran last edited by

              @homoran sagte in Javascript error - SyntaxError: Unexpected token:

              @reutli sagte in Javascript error - SyntaxError: Unexpected token:

              seit vielen Monaten unverändert) so aus:

              wie?

              musste noch Daten unkenntlich machen ist oben drin.

              @homoran sagte in Javascript error - SyntaxError: Unexpected token:

              @reutli sagte in Javascript error - SyntaxError: Unexpected token:

              seit ein paar Tagen

              ist ein neues Jahr!
              Warum sollte Fronius da nichts geändert haben?

              Da hast Du recht, dann wundert mich aber, dass den Fehler noch niemand hatte

              Homoran 1 Reply Last reply Reply Quote 0
              • Homoran
                Homoran Global Moderator Administrators @reutli last edited by

                @reutli ich hab auch editiert!
                mit Kennzeichnung

                1 Reply Last reply Reply Quote 0
                • R
                  reutli @Homoran last edited by

                  @homoran sagte in Javascript error - SyntaxError: Unexpected token:

                  dann bau da debug Bausteine mit sinnvollem output ein um zu sehen wann die Meldung kommt

                  Das werd ich nicht können, da "blind" übernommen von @Strobelix

                  Homoran 1 Reply Last reply Reply Quote 0
                  • Homoran
                    Homoran Global Moderator Administrators @reutli last edited by Homoran

                    @reutli kommt die Meldung in bestimmten Abständen / zu bestimmten Zeiten?

                    dann die dazu den passenden Trigger suchen.

                    oder einfach einen Block in jedem Trigger,
                    oder
                    oder

                    einfach kreativ sein!

                    1 Reply Last reply Reply Quote 0
                    • D
                      Diamand2k22 last edited by

                      @reutli

                      ich denke wenn @Strobelix das hier liest, kann er uns bestimmt helfen.

                      R 1 Reply Last reply Reply Quote 0
                      • R
                        reutli @Diamand2k22 last edited by

                        @diamand2k22
                        ja, bleibt zu hoffen

                        1 Reply Last reply Reply Quote 0
                        • S
                          Strobelix @reutli last edited by

                          @reutli
                          Ja das ist von meinem Script
                          Wenn für den aktuellen Tag (warum auch immer) noch keine Daten auf dem Solarwebserver liegen, dann kommt diese Meldung.
                          Wenn also bei Fronius mal was „faul“ ist, wiederholt sich das öfter. Kann man ignorieren

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

                          Support us

                          ioBroker
                          Community Adapters
                          Donate
                          FAQ Cloud / IOT
                          HowTo: Node.js-Update
                          HowTo: Backup/Restore
                          Downloads
                          BLOG

                          848
                          Online

                          32.0k
                          Users

                          80.5k
                          Topics

                          1.3m
                          Posts

                          4
                          16
                          703
                          Loading More Posts
                          • Oldest to Newest
                          • Newest to Oldest
                          • Most Votes
                          Reply
                          • Reply as topic
                          Log in to reply
                          Community
                          Impressum | Datenschutz-Bestimmungen | Nutzungsbedingungen
                          The ioBroker Community 2014-2023
                          logo