Skip to content

Non-whitespace before first tag

Contexte

Erreur qui remonte en grand nombre, dès qu'on essaye de parser une réponse qui n'a pas le format attendu.

Objectif

Ajouter des trycath

!52 (comment 117765)

Ressources

Stderr: This error originated either by throwing inside of an async function without a catch block, or by rejecting a promise which was not handled with .catch(). The promise rejected with the reason:
Non-whitespace before first tag.
Line: 0
Column: 1
Char: o
    at error (/usr/src/konnector/index.js:227969:10)
    at strictFail (/usr/src/konnector/index.js:227995:7)
    at beginWhiteSpace (/usr/src/konnector/index.js:228269:7)
    at SAXParser.write (/usr/src/konnector/index.js:228324:11)
    at Parser.exports.Parser.Parser.parseString (/usr/src/konnector/index.js:227254:31)
    at Parser.parseString (/usr/src/konnector/index.js:226936:59)
    at Object.exports.parseString (/usr/src/konnector/index.js:227300:19)
    at getData (/usr/src/konnector/index.js:407:10)
    at processTicksAndRejections (node:internal/process/task_queues:96:5)
    at async gatherData (/usr/src/konnector/index.js:352:3)
    at async BaseKonnector.start (/usr/src/konnector/index.js:271:5)
    at async BaseKonnector.run (/usr/src/konnector/index.js:185360:7)

Tâches

Edited by Ghost User