Skip to content
  • Recent
  • Tags
  • Popular
  • Users
  • Groups
  • Donate
Collapse

Plutonium

  1. Home
  2. BO2 Server Hosting Support
  3. NSM (Node Server Manager) SyntaxError

NSM (Node Server Manager) SyntaxError

Scheduled Pinned Locked Moved BO2 Server Hosting Support
15 Posts 9 Posters 470 Views
  • Oldest to Newest
  • Newest to Oldest
  • Most Votes
Log in to reply
This topic has been deleted. Only users with topic management privileges can see it.
  • psythologyundefined Offline
    psythologyundefined Offline
    psythology
    wrote on last edited by psythology
    #1

    I've found fixes for about 4 different errors and finally did the configuration now I'm getting another error that's not showing up anywhere on google or forums and i was wondering if anyone could help me

    Caught exception: SyntaxError: Unexpected token < in JSON at position 0SyntaxError: Unexpected token < in JSON at position 0
        at JSON.parse (<anonymous>)
        at MasterServer.getApiKey (H:\Plutonium T6 Server\node-server-manager\Lib\MasterServer.js:109:24)
        at processTicksAndRejections (node:internal/process/task_queues:96:5)
        at async MasterServer.init (H:\Plutonium T6 Server\node-server-manager\Lib\MasterServer.js:15:23)
    

    any help willl be greatly appreciated

    1 Reply Last reply
    0
    • iHarrows123undefined Offline
      iHarrows123undefined Offline
      iHarrows123
      wrote on last edited by iHarrows123
      #2

      psythology Same but it work everything Dont worry

      psythologyundefined 1 Reply Last reply
      0
      • psythologyundefined Offline
        psythologyundefined Offline
        psythology
        replied to iHarrows123 on last edited by psythology
        #3

        iHarrows123 no '.' commands work ive tried .owner and .token i've checked the configs and the command is . i havent changed it

        iHarrowundefined 1 Reply Last reply
        0
        • iHarrowundefined Offline
          iHarrowundefined Offline
          iHarrow
          replied to psythology on last edited by iHarrow
          #4

          psythology

          Are the commands working fine (all commands)?
          what exactly is the problem?
          Your error is useless i have the same and everything is okay
          if you have Dicord please dm me iHarrow#1000

          Rise166undefined sehteriaundefined 3 Replies Last reply
          1
          • Rise166undefined Offline
            Rise166undefined Offline
            Rise166
            replied to iHarrow on last edited by
            #5

            iHarrow said in NSM (Node Server Manager) SyntaxError:

            iHarrow#1000

            i need some help from you, i added you on discord. Rise#0813

            iHarrows123undefined 1 Reply Last reply
            0
            • iHarrows123undefined Offline
              iHarrows123undefined Offline
              iHarrows123
              replied to Rise166 on last edited by
              #6
              This post is deleted!
              1 Reply Last reply
              0
              • Rise166undefined Offline
                Rise166undefined Offline
                Rise166
                replied to iHarrow on last edited by
                #7

                iHarrow can you help?

                iHarrowundefined 2 Replies Last reply
                0
                • iHarrowundefined Offline
                  iHarrowundefined Offline
                  iHarrow
                  replied to Rise166 on last edited by
                  #8

                  Rise166 accept me i send u friend request

                  1 Reply Last reply
                  0
                  • iHarrowundefined Offline
                    iHarrowundefined Offline
                    iHarrow
                    replied to Rise166 on last edited by
                    #9

                    Rise166 Whats your problem with nsm?

                    Rise166undefined 1 Reply Last reply
                    0
                    • Rise166undefined Offline
                      Rise166undefined Offline
                      Rise166
                      replied to iHarrow on last edited by
                      #10

                      iHarrow i sent invite

                      1 Reply Last reply
                      0
                      • Horozgsundefined Offline
                        Horozgsundefined Offline
                        Horozgs
                        wrote on last edited by
                        #11

                        Is this error fixed?
                        I have the same error can someone help me?

                        Caught exception: SyntaxError: Unexpected token < in JSON at position 0SyntaxError: Unexpected token < in JSON at position 0
                        at JSON.parse (<anonymous>)
                        at MasterServer.getApiKey (C:\Black ops II Server\node-server-manager\Lib\MasterServer.js:109:24)
                        at processTicksAndRejections (node:internal/process/task_queues:96:5)
                        at async MasterServer.init (C:\Black ops II Server\node-server-manager\Lib\MasterServer.js:15:23)

                        1 Reply Last reply
                        0
                        • DoctorCoctorundefined Offline
                          DoctorCoctorundefined Offline
                          DoctorCoctor
                          wrote on last edited by
                          #12

                          Okay, if you read the error, it says something about JSON. This means it's likely making a request to some type of server that's expected to return JSON data. It also says the response contained a '<', which is from HTML, not JSON. So, it looks like the server had an error, likely a 500 server error. There's nothing wrong with the program you're running, but a server it's trying to connect with is having issues. The stacktrace you posted doesn't contain any information about that server, but it does have information on which source file that server is referenced in.

                          1 Reply Last reply
                          0
                          • sehteriaundefined Offline
                            sehteriaundefined Offline
                            sehteria
                            replied to iHarrow on last edited by
                            #13
                            This post is deleted!
                            1 Reply Last reply
                            0
                            • A Former User? Offline
                              A Former User? Offline
                              A Former User
                              wrote on last edited by
                              #14

                              I actually get the same error any fixes?

                              AngelSigmaundefined 1 Reply Last reply
                              0
                              • AngelSigmaundefined Offline
                                AngelSigmaundefined Offline
                                AngelSigma
                                replied to A Former User on last edited by
                                #15

                                Monologue do you still have this error?

                                1 Reply Last reply
                                0

                                • Login

                                • Don't have an account? Register

                                • Login or register to search.
                                • First post
                                  Last post
                                0
                                • Recent
                                • Tags
                                • Popular
                                • Users
                                • Groups
                                • Donate