You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
This repository was archived by the owner on Jan 9, 2023. It is now read-only.
(see here). If the request module has already been promisified using Bluebird without the multiArgs parameter, it will not re-promisify the methods. In this situation, all requests to the API fail with the following error message:
[Smartsheet] 2020-09-03T13:16:39.339Z[ ERROR] Response: Failure (HTTP NaN)
Error Code: NaN - expecting an array or an iterable object but got [object Null]
Ref ID: undefined
In
httpRequestor.js, therequestmodule is promisified with the{ multiArgs: true }parameter as follows:(see here). If the
requestmodule has already been promisified using Bluebird without themultiArgsparameter, it will not re-promisify the methods. In this situation, all requests to the API fail with the following error message:Here is a simple reproducible example:
Since the request module has been deprecated, it might make sense to switch to something like got, which has native promise support.