Duet3D Logo Duet3D
    • Tags
    • Documentation
    • Order
    • Register
    • Login

    SyntaxError: Unexpected token , in JSON at position 36

    Scheduled Pinned Locked Moved
    General Discussion
    4
    12
    451
    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.
    • b45666undefined
      b45666 @b45666
      last edited by

      @b45666 said in SyntaxError: Unexpected token , in JSON at position 36:

      hello
      i keep getting this error when i try to update the firmware or open system editor tab in settings.
      please advice

      The connection between the browser and your machine has been interrupted.

      Reason: Unknown (SyntaxError: Unexpected token , in JSON at position 36)

      Please reload the web interface to proceed.

      1 Reply Last reply Reply Quote 0
      • dc42undefined
        dc42 administrators
        last edited by

        That's probably caused by a bug in the firmware version you are currently running, most likely triggered by an unusual setting in config.g. Which firmware version are you running?

        Duet WiFi hardware designer and firmware engineer
        Please do not ask me for Duet support via PM or email, use the forum
        http://www.escher3d.com, https://miscsolutions.wordpress.com

        b45666undefined 2 Replies Last reply Reply Quote 0
        • b45666undefined
          b45666
          last edited by

          This post is deleted!
          1 Reply Last reply Reply Quote 0
          • b45666undefined
            b45666 @dc42
            last edited by

            @dc42
            firmware version 2.0

            1 Reply Last reply Reply Quote 0
            • b45666undefined
              b45666 @dc42
              last edited by

              @dc42
              Duet 2 wifi.png

              1 Reply Last reply Reply Quote 0
              • dc42undefined
                dc42 administrators
                last edited by

                Please upgrade to firmware 2.05.1. Read the upgrade notes first.

                Here are two ways to get around your current issues to do the firmware upgrade:

                1. Move the SD card to a PC and rename your config.g file to something else. Create a new config.g file that enables the network interface and does very little else. That will probably avoid the error.

                2. If that fails, see https://duet3d.dozuki.com/Wiki/Installing_and_Updating_Firmware#Section_Fallback_procedure_Num_1.

                Duet WiFi hardware designer and firmware engineer
                Please do not ask me for Duet support via PM or email, use the forum
                http://www.escher3d.com, https://miscsolutions.wordpress.com

                b45666undefined 1 Reply Last reply Reply Quote 0
                • b45666undefined
                  b45666 @dc42
                  last edited by

                  @dc42
                  will do, thank you for your swift reply.

                  droftartsundefined 1 Reply Last reply Reply Quote 0
                  • droftartsundefined
                    droftarts administrators @b45666
                    last edited by

                    @b45666 Update your Wifi server version, too; you're on 1.21, latest is 1.23. See https://duet3d.dozuki.com/Wiki/Installing_and_Updating_Firmware#Section_Updating_WiFi_firmware

                    It looks like you're just setting this up, on USB power. Your temperature sensors are reading 2000ºC, which means they are shorted, rather than disconnected. However, you also get this if you are using a RepRapFirmware v3 config.g with RepRapFirmware v2. So you may need to redo your config, or update to RepRapFirmware v3. Post your config.g if you are unsure.

                    Ian

                    Bed-slinger - Mini5+ WiFi/1LC | RRP Fisher v1 - D2 WiFi | Polargraph - D2 WiFi | TronXY X5S - 6HC/Roto | CNC router - 6HC | Tractus3D T1250 - D2 Eth

                    b45666undefined 1 Reply Last reply Reply Quote 0
                    • b45666undefined
                      b45666 @droftarts
                      last edited by

                      @droftarts
                      yes, this is my initial setup,Im getting tips from here and there for each part due to the lack of a step by step guide for my machine (CR10 S5) which I intend to upgrade with a Duet 2 wifi.
                      here is my config file.
                      config.json
                      config.g

                      droftartsundefined Phaedruxundefined 2 Replies Last reply Reply Quote 0
                      • droftartsundefined
                        droftarts administrators @b45666
                        last edited by

                        @b45666 said in SyntaxError: Unexpected token , in JSON at position 36:

                        lack of a step by step guide for my machine (CR10 S5)

                        Feel free to write a guide for the CR10 S5 for the wiki!

                        Your config.g is for RepRapFirmware 2, so for now I'd stick with that. You can load your json file into the RRF config tool, and continually tweak it, getting closer to a setup that works for you out-of-the-box. Follow the general guides for each section on the main documentation pages, particularly:
                        https://duet3d.dozuki.com/#Section_Hardware_and_Wiring_Gen_2_Duets
                        https://duet3d.dozuki.com/#Section_Firmware_configuration

                        There are also a number of other forum users who have CR10 S5, so I'm sure searching the forums and asking them questions would also help. And everyone else on the forum!

                        Ian

                        Bed-slinger - Mini5+ WiFi/1LC | RRP Fisher v1 - D2 WiFi | Polargraph - D2 WiFi | TronXY X5S - 6HC/Roto | CNC router - 6HC | Tractus3D T1250 - D2 Eth

                        1 Reply Last reply Reply Quote 0
                        • Phaedruxundefined
                          Phaedrux Moderator @b45666
                          last edited by

                          @b45666 said in SyntaxError: Unexpected token , in JSON at position 36:

                          lack of a step by step guide for my machine (CR10 S5)

                          https://duet3d.dozuki.com/Guide/Ender+3+Pro+and+Duet+Maestro+Guide+Part+1:+Wiring/37

                          Broadly applicable to any creality printer.

                          Z-Bot CoreXY Build | Thingiverse Profile

                          1 Reply Last reply Reply Quote 0
                          • First post
                            Last post
                          Unless otherwise noted, all forum content is licensed under CC-BY-SA