错误代码门户
Node.jsNode.js错误代码

ERR_INVALID_TUPLE

invalid tuple

代码 ERR_INVALID_TUPLE · Node.js 报告的问题。

提供给 WHATWG URLSearchParams 构造函数的可迭代中的元素不表示 [名称,值] 元组 - 也就是说,如果元素不可迭代,或者不完全由两个元素组成。

Google Translate · 此内容为自动翻译。技术术语及适用条件请以英文原文为准。

An element in the iterable provided to the WHATWG URLSearchParams constructor did not represent a [name, value] tuple – that is, if an element is not iterable, or does not consist of exactly two elements.

故障排除与诊断链接

请先确认文档中的产品、版本及发生环境与当前情况一致。