Nexus-Mods / Vortex

Vortex Development
GNU General Public License v3.0
914 stars 134 forks source link

error: Invalid character in header content ["APIKEY"] (request: https://api.nexusmods.com/v1/user/endorsements) #10820

Closed VortexFeedback closed 2 years ago

VortexFeedback commented 2 years ago

Application error

System

Platform win32 10.0.19044
Architecture x64
Application Version 1.4.16
Process renderer

Message

Invalid character in header content ["APIKEY"] (request: https://api.nexusmods.com/v1/user/endorsements)

Title

An error occurred checking for mod updates

Details

code: ERR_INVALID_CHAR

Context

gamemode = Fallout: New Vegas

Stack

TypeError [ERR_INVALID_CHAR]: Invalid character in header content ["APIKEY"]
    at ClientRequest.setHeader (_http_outgoing.js:521:3)
    at new ClientRequest (_http_client.js:241:14)
    at Object.request (https.js:314:10)
    at Request.start (C:\Program Files\Black Tree Gaming Ltd\Vortex\resources\app.asar\node_modules\request\request.js:751:32)
    at Request.end (C:\Program Files\Black Tree Gaming Ltd\Vortex\resources\app.asar\node_modules\request\request.js:1505:10)
    at end (C:\Program Files\Black Tree Gaming Ltd\Vortex\resources\app.asar\node_modules\request\request.js:564:14)
    at Immediate._onImmediate (C:\Program Files\Black Tree Gaming Ltd\Vortex\resources\app.asar\node_modules\request\request.js:578:7)
    at processImmediate (internal/timers.js:456:21)
Error
    at restGet (C:\Program Files\Black Tree Gaming Ltd\Vortex\resources\app.asar\node_modules\@nexusmods\nexus-api\lib\Nexus.js:73:22)
    at rest (C:\Program Files\Black Tree Gaming Ltd\Vortex\resources\app.asar\node_modules\@nexusmods\nexus-api\lib\Nexus.js:123:11)
    at Nexus.<anonymous> (C:\Program Files\Black Tree Gaming Ltd\Vortex\resources\app.asar\node_modules\@nexusmods\nexus-api\lib\Nexus.js:454:30)
    at Generator.next (<anonymous>)
    at C:\Program Files\Black Tree Gaming Ltd\Vortex\resources\app.asar\node_modules\@nexusmods\nexus-api\lib\Nexus.js:8:71
    at Promise.cancellationExecute [as _execute] (C:\Program Files\Black Tree Gaming Ltd\Vortex\resources\app.asar\node_modules\bluebird\js\release\debuggability.js:406:9)
    at Promise._resolveFromExecutor (C:\Program Files\Black Tree Gaming Ltd\Vortex\resources\app.asar\node_modules\bluebird\js\release\promise.js:518:18)
    at new Promise (C:\Program Files\Black Tree Gaming Ltd\Vortex\resources\app.asar\node_modules\bluebird\js\release\promise.js:103:10)
    at __awaiter (C:\Program Files\Black Tree Gaming Ltd\Vortex\resources\app.asar\node_modules\@nexusmods\nexus-api\lib\Nexus.js:4:12)
    at Nexus.request (C:\Program Files\Black Tree Gaming Ltd\Vortex\resources\app.asar\node_modules\@nexusmods\nexus-api\lib\Nexus.js:452:16)
    at Nexus.<anonymous> (C:\Program Files\Black Tree Gaming Ltd\Vortex\resources\app.asar\node_modules\@nexusmods\nexus-api\lib\Nexus.js:280:25)
    at Generator.next (<anonymous>)
    at fulfilled (C:\Program Files\Black Tree Gaming Ltd\Vortex\resources\app.asar\node_modules\@nexusmods\nexus-api\lib\Nexus.js:5:58)
    at tryCatcher (C:\Program Files\Black Tree Gaming Ltd\Vortex\resources\app.asar\node_modules\bluebird\js\release\util.js:16:23)
    at Promise._settlePromiseFromHandler (C:\Program Files\Black Tree Gaming Ltd\Vortex\resources\app.asar\node_modules\bluebird\js\release\promise.js:547:31)
    at Promise._settlePromise (C:\Program Files\Black Tree Gaming Ltd\Vortex\resources\app.asar\node_modules\bluebird\js\release\promise.js:604:18)

Called from:

  at null (C:\Program Files\Black Tree Gaming Ltd\Vortex\resources\app.asar\renderer.js:7123:37)
  at refreshEndorsements (C:\Program Files\Black Tree Gaming Ltd\Vortex\resources\app.asar\renderer.js:2529:193)
  at checkModVersionsImpl (C:\Program Files\Black Tree Gaming Ltd\Vortex\resources\app.asar\renderer.js:2564:121)
  at null (C:\Program Files\Black Tree Gaming Ltd\Vortex\resources\app.asar\renderer.js:7467:16)
  at null (C:\Program Files\Black Tree Gaming Ltd\Vortex\resources\app.asar\renderer.js:97:50)
  at null (C:\Program Files\Black Tree Gaming Ltd\Vortex\resources\app.asar\renderer.js:2087:122)
  at emit (events.js:327:22)
  at ExtensionManager.emitAndAwait (C:\Program Files\Black Tree Gaming Ltd\Vortex\resources\app.asar\renderer.js:2084:133)
  at CheckVersionsButton.checkModsVersion (C:\Program Files\Black Tree Gaming Ltd\Vortex\resources\app.asar\renderer.js:6834:186)
  at ToolbarDropdown.invokeDefault (C:\Program Files\Black Tree Gaming Ltd\Vortex\resources\app.asar\renderer.js:2887:208)
  at ba (C:\Program Files\Black Tree Gaming Ltd\Vortex\resources\app.asar\node_modules\react-dom\cjs\react-dom.production.min.js:14:84)
  at ja (C:\Program Files\Black Tree Gaming Ltd\Vortex\resources\app.asar\node_modules\react-dom\cjs\react-dom.production.min.js:14:238)
  at ka (C:\Program Files\Black Tree Gaming Ltd\Vortex\resources\app.asar\node_modules\react-dom\cjs\react-dom.production.min.js:14:292)
  at oa (C:\Program Files\Black Tree Gaming Ltd\Vortex\resources\app.asar\node_modules\react-dom\cjs\react-dom.production.min.js:15:72)
  at lc (C:\Program Files\Black Tree Gaming Ltd\Vortex\resources\app.asar\node_modules\react-dom\cjs\react-dom.production.min.js:52:170)
  at jc (C:\Program Files\Black Tree Gaming Ltd\Vortex\resources\app.asar\node_modules\react-dom\cjs\react-dom.production.min.js:51:255)
  at mc (C:\Program Files\Black Tree Gaming Ltd\Vortex\resources\app.asar\node_modules\react-dom\cjs\react-dom.production.min.js:52:334)
  at sc (C:\Program Files\Black Tree Gaming Ltd\Vortex\resources\app.asar\node_modules\react-dom\cjs\react-dom.production.min.js:56:10)
  at Ia (C:\Program Files\Black Tree Gaming Ltd\Vortex\resources\app.asar\node_modules\react-dom\cjs\react-dom.production.min.js:287:189)
  at Ma (C:\Program Files\Black Tree Gaming Ltd\Vortex\resources\app.asar\node_modules\react-dom\cjs\react-dom.production.min.js:19:57)
  at Rc (C:\Program Files\Black Tree Gaming Ltd\Vortex\resources\app.asar\node_modules\react-dom\cjs\react-dom.production.min.js:70:279)
  at id (C:\Program Files\Black Tree Gaming Ltd\Vortex\resources\app.asar\node_modules\react-dom\cjs\react-dom.production.min.js:69:102)
  at exports.unstable_runWithPriority (C:\Program Files\Black Tree Gaming Ltd\Vortex\resources\app.asar\node_modules\scheduler\cjs\scheduler.production.min.js:19:467)
  at cg (C:\Program Files\Black Tree Gaming Ltd\Vortex\resources\app.asar\node_modules\react-dom\cjs\react-dom.production.min.js:122:325)
  at Ga (C:\Program Files\Black Tree Gaming Ltd\Vortex\resources\app.asar\node_modules\react-dom\cjs\react-dom.production.min.js:287:48)
  at gd (C:\Program Files\Black Tree Gaming Ltd\Vortex\resources\app.asar\node_modules\react-dom\cjs\react-dom.production.min.js:68:371)

Reported from:
Error
    at Object.showError (C:\Program Files\Black Tree Gaming Ltd\Vortex\resources\app.asar\renderer.js:381:195)
    at C:\Program Files\Black Tree Gaming Ltd\Vortex\resources\app.asar\renderer.js:7472:56
    at tryCatcher (C:\Program Files\Black Tree Gaming Ltd\Vortex\resources\app.asar\node_modules\bluebird\js\release\util.js:16:23)
    at Promise._settlePromiseFromHandler (C:\Program Files\Black Tree Gaming Ltd\Vortex\resources\app.asar\node_modules\bluebird\js\release\promise.js:547:31)
    at Promise._settlePromise (C:\Program Files\Black Tree Gaming Ltd\Vortex\resources\app.asar\node_modules\bluebird\js\release\promise.js:604:18)
    at Promise._settlePromise0 (C:\Program Files\Black Tree Gaming Ltd\Vortex\resources\app.asar\node_modules\bluebird\js\release\promise.js:649:10)
    at Promise._settlePromises (C:\Program Files\Black Tree Gaming Ltd\Vortex\resources\app.asar\node_modules\bluebird\js\release\promise.js:725:18)
    at _drainQueueStep (C:\Program Files\Black Tree Gaming Ltd\Vortex\resources\app.asar\node_modules\bluebird\js\release\async.js:93:12)
    at _drainQueue (C:\Program Files\Black Tree Gaming Ltd\Vortex\resources\app.asar\node_modules\bluebird\js\release\async.js:86:9)
    at Async._drainQueues (C:\Program Files\Black Tree Gaming Ltd\Vortex\resources\app.asar\node_modules\bluebird\js\release\async.js:102:5)
    at Async.drainQueues (C:\Program Files\Black Tree Gaming Ltd\Vortex\resources\app.asar\node_modules\bluebird\js\release\async.js:15:14)

Reported by: coolbanana2000

IDCs commented 2 years ago

The error suggests you have used the manual key input and you probably did a typo, entering a key that isn't valid.