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

    Unexpected token a in JSON at position 251

    Scheduled Pinned Locked Moved
    Duet Web Control
    4
    15
    629
    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.
    • jay_s_ukundefined
      jay_s_uk
      last edited by

      have you thought about trying a newer version of DWC? I believe 2.07 should work ok.
      If you don't like it, you can easily go back to 1.22.6 as well.

      Owns various duet boards and is the main wiki maintainer for the Teamgloomy LPC/STM32 port of RRF. Assume I'm running whatever the latest beta/stable build is

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

        @curlypaul said in Unexpected token a in JSON at position 251:

        @jay_s_uk I haven't tried RRF3 yet, But with 2.05 and 2.04 my second set of motors didn't move as expected
        in this post here...
        link text

        I can't tell from that thread what actually changes when you upgrade from 2.02 to 2.05. Please start a new thread about that, and include the config.g and homing files that work with 2.02 in that thread.

        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

        curlypaulundefined 1 Reply Last reply Reply Quote 0
        • curlypaulundefined
          curlypaul @dc42
          last edited by

          @dc42
          When i get it up and ruuning again I will certainly do that with the seperate thread.

          Still the same issue with DWC 2.07...
          Checked through config.g to see if messed anything, but literally all i changed were E steps/mm
          json error 2.PNG

          deckingmanundefined 1 Reply Last reply Reply Quote 0
          • jay_s_ukundefined
            jay_s_uk
            last edited by

            can you get an output of M122? It would be interesting to see what your wifi signal is

            Owns various duet boards and is the main wiki maintainer for the Teamgloomy LPC/STM32 port of RRF. Assume I'm running whatever the latest beta/stable build is

            curlypaulundefined 1 Reply Last reply Reply Quote 0
            • curlypaulundefined
              curlypaul @jay_s_uk
              last edited by

              @jay_s_uk
              M122 dump is in the second post.
              It's about 3m away from Unifi access point, i have another printer (duet) right next to this printer running ok

              1 Reply Last reply Reply Quote 0
              • jay_s_ukundefined
                jay_s_uk
                last edited by

                Missed that.
                -46db is perfectly fine so that's not the issue.
                Best to follow dc42's advice and work out where the issues lie when upgrading from 2.02 to 2.05.1

                Owns various duet boards and is the main wiki maintainer for the Teamgloomy LPC/STM32 port of RRF. Assume I'm running whatever the latest beta/stable build is

                1 Reply Last reply Reply Quote 0
                • deckingmanundefined
                  deckingman @curlypaul
                  last edited by

                  @curlypaul said in Unexpected token a in JSON at position 251:

                  Checked through config.g to see if messed anything, but literally all i changed were E steps/mm

                  Long shot here but logically, if all you did was edit something in config.g, then the issue must either be something to do with that edit, or it's just an unfortunate co-incidence. If it was me, I would comment out the line that was edited, then carefully type it again. Just in case a hidden character has crept in somewhere that is screwing things up. Maybe post your config.g just in case one of us can spot something that you might have missed.

                  Ian
                  https://somei3deas.wordpress.com/
                  https://www.youtube.com/@deckingman

                  1 Reply Last reply Reply Quote 0
                  • curlypaulundefined
                    curlypaul
                    last edited by

                    I changed the E steps on second extruder from 802, to 401 as swapped from 0.9 to 1.8deg motor

                    M584 X3 Y4 Z2 E7:6 U0 V1 P4                       		; set drive mapping
                    M350 X16 Y16 U16 V16 Z16 E16:16 I1                  		; configure microstepping with interpolation
                    M92 X160 Y160 U160 V160 Z2560 E402:401   			; set steps per mm
                    M566 X1200 Y1200 U1200 V1200 Z25 E2500:2500			; set maximum instantaneous speed changes (mm/min)
                    M203 X20000 Y20000 U20000 V20000 Z600 E9000:9000		; set maximum speeds (mm/min)
                    M201 X1000 Y1000 U1000 V1000 Z500 E3000:3000      		; set accelerations (mm/s^2)
                    M906 X1200 Y1200 U1200 V1200 Z1500 E900:E900 I30   		; set motor currents (mA) and motor idle factor in per cent
                    M84 S60                                         		; Set idle timeout
                    
                    1 Reply Last reply Reply Quote 0
                    • curlypaulundefined
                      curlypaul
                      last edited by

                      Deleted the lot and typed it all in again

                      Working now

                      Goodness knows what that was all about

                      Thankyou to those that chipped in 🙂

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

                        @curlypaul said in Unexpected token a in JSON at position 251:

                        Deleted the lot and typed it all in again

                        Working now

                        Goodness knows what that was all about

                        Thankyou to those that chipped in 🙂

                        I recall that a few RRF versions ago, I fixed a bug which caused invalid JSON to be generated in some configurations. Looks like you hit it.

                        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

                        curlypaulundefined 1 Reply Last reply Reply Quote 0
                        • curlypaulundefined
                          curlypaul @dc42
                          last edited by

                          @dc42 - thanks i think !? 🙂

                          I kind of hope i 'hit 'it' in a way

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