Virtual-Royaume / Royaume-Discord-Bot

It is the bot of our Discord community, it offers various utility features. It is written in TypeScript and uses DiscordJS to interact with the Discord API.
9 stars 1 forks source link

Erreur lors d'une requête GraphQL #194

Closed Bluzzi closed 1 year ago

Bluzzi commented 1 year ago

Description de l'issue

Aucune solution de reproduction trouvé pour l'instant. Cette erreur provoque un crash du client.

Quel gestionnaire de paquets utilisez-vous ?

NPM

Version du gestionnaire de paquets utilisé

8

Priorité du bug

Moyenne (gênant)

Version de l'OS

Ubuntu

Version de Node.js

19

Message d'erreur

[2023-04-03 20:18:00] ERROR ---» GraphQL request failed : undefined:1 <!DOCTYPE html> ^ SyntaxError: Unexpected token '<', "<!DOCTYPE "... is not valid JSON at JSON.parse () at parseJSONFromBytes (node:internal/deps/undici/undici:6571:19) at successSteps (node:internal/deps/undici/undici:6545:27) at node:internal/deps/undici/undici:1211:60 at node:internal/process/task_queues:140:7 at AsyncResource.runInAsyncScope (node:async_hooks:203:9) at AsyncResource.runMicrotask (node:internal/process/task_queues:137:8) at processTicksAndRejections (node:internal/process/task_queues:95:5)