[GH-ISSUE #168] [BUG] ERR_BAD_REQUEST on trying to import a game from GiantBomb #83

Closed
opened 2026-02-17 17:06:04 -05:00 by yindo · 2 comments
Owner

Originally created by @Beethoven-n on GitHub (Aug 1, 2025).
Original GitHub issue: https://github.com/Drop-OSS/drop/issues/168

somehow, drop changes the API key before making a request to GiantBomb.

err: {
  "message": "Request failed with status code 401",
  "name": "AxiosError",
  "stack":
      AxiosError: Request failed with status code 401
          at settle (file:///app/app/server/node_modules/axios/lib/core/settle.js:19:12)
          at IncomingMessage.handleStreamEnd (file:///app/app/server/node_modules/axios/lib/adapters/http.js:599:11)
          at IncomingMessage.emit (node:events:530:35)
          at endReadableNT (node:internal/streams/readable:1698:12)
          at process.processTicksAndRejections (node:internal/process/task_queues:90:21)
          at Axios.request (file:///app/app/server/node_modules/axios/lib/core/Axios.js:45:41)
          at process.processTicksAndRejections (node:internal/process/task_queues:105:5)
          at async GiantBombProvider.request (file:///app/app/server/chunks/nitro/nitro.mjs:1:306825)
          at async GiantBombProvider.search (file:///app/app/server/chunks/nitro/nitro.mjs:1:306934)
          at async file:///app/app/server/chunks/nitro/nitro.mjs:1:303122
  "config": {
    "transitional": {
      "silentJSONParsing": true,
      "forcedJSONParsing": true,
      "clarifyTimeoutError": false
    },
    "adapter": [
      "xhr",
      "http",
      "fetch"
    ],
    "transformRequest": [
      null
    ],
    "transformResponse": [
      null
    ],
    "timeout": 0,
    "xsrfCookieName": "XSRF-TOKEN",
    "xsrfHeaderName": "X-XSRF-TOKEN",
    "maxContentLength": -1,
    "maxBodyLength": -1,
    "env": {},
    "headers": {
      "Accept": "application/json, text/plain, */*",
      "User-Agent": "axios/1.11.0",
      "Accept-Encoding": "gzip, compress, deflate, br"
    },
    "url": "https://www.giantbomb.com/api/search/?query=Mega+Man&resources=game&api_key=...xxx4l5dxxx...&format=json",
    "baseURL": "",
    "allowAbsoluteUrls": true,
    "method": "get"
  },
  "code": "ERR_BAD_REQUEST",
  "status": 401
}

the API key is changed from ...xxx4e5dxxx... to ...xxx4l5dxxx... somehow.

Originally created by @Beethoven-n on GitHub (Aug 1, 2025). Original GitHub issue: https://github.com/Drop-OSS/drop/issues/168 somehow, drop changes the API key before making a request to GiantBomb. ```json err: { "message": "Request failed with status code 401", "name": "AxiosError", "stack": AxiosError: Request failed with status code 401 at settle (file:///app/app/server/node_modules/axios/lib/core/settle.js:19:12) at IncomingMessage.handleStreamEnd (file:///app/app/server/node_modules/axios/lib/adapters/http.js:599:11) at IncomingMessage.emit (node:events:530:35) at endReadableNT (node:internal/streams/readable:1698:12) at process.processTicksAndRejections (node:internal/process/task_queues:90:21) at Axios.request (file:///app/app/server/node_modules/axios/lib/core/Axios.js:45:41) at process.processTicksAndRejections (node:internal/process/task_queues:105:5) at async GiantBombProvider.request (file:///app/app/server/chunks/nitro/nitro.mjs:1:306825) at async GiantBombProvider.search (file:///app/app/server/chunks/nitro/nitro.mjs:1:306934) at async file:///app/app/server/chunks/nitro/nitro.mjs:1:303122 "config": { "transitional": { "silentJSONParsing": true, "forcedJSONParsing": true, "clarifyTimeoutError": false }, "adapter": [ "xhr", "http", "fetch" ], "transformRequest": [ null ], "transformResponse": [ null ], "timeout": 0, "xsrfCookieName": "XSRF-TOKEN", "xsrfHeaderName": "X-XSRF-TOKEN", "maxContentLength": -1, "maxBodyLength": -1, "env": {}, "headers": { "Accept": "application/json, text/plain, */*", "User-Agent": "axios/1.11.0", "Accept-Encoding": "gzip, compress, deflate, br" }, "url": "https://www.giantbomb.com/api/search/?query=Mega+Man&resources=game&api_key=...xxx4l5dxxx...&format=json", "baseURL": "", "allowAbsoluteUrls": true, "method": "get" }, "code": "ERR_BAD_REQUEST", "status": 401 } ``` the API key is changed from `...xxx4e5dxxx...` to `...xxx4l5dxxx...` somehow.
yindo closed this issue 2026-02-17 17:06:04 -05:00
Author
Owner

@Beethoven-n commented on GitHub (Aug 1, 2025):

and yes, it is set to the correct key in the compose file

@Beethoven-n commented on GitHub (Aug 1, 2025): and yes, it is set to the correct key in the compose file
Author
Owner

@Beethoven-n commented on GitHub (Aug 1, 2025):

there was a typo at some old point.

@Beethoven-n commented on GitHub (Aug 1, 2025): there was a typo at some old point.
yindo changed title from [BUG] ERR_BAD_REQUEST on trying to import a game from GiantBomb to [GH-ISSUE #168] [BUG] ERR_BAD_REQUEST on trying to import a game from GiantBomb 2026-06-05 14:21:19 -04:00
Sign in to join this conversation.
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: Drop-OSS/drop#83