pajaydev / ebay-node-api

eBay API Client for node
https://pajaydev.github.io/ebay-node-api
MIT License
132 stars 76 forks source link

problem calling getUserTokenByRefresh method #162

Open emporioreale opened 2 years ago

emporioreale commented 2 years ago

Calling getUserTokenByRefresh method resulting in the following error:

Uncaught TypeError TypeError [ERR_INVALID_ARG_TYPE]: The "chunk" argument must be of type string or an instance of Buffer or Uint8Array. Received an instance of Object
    at __node_internal_captureLargerStackTrace (undefined:464:5)
    at NodeError (undefined:371:5)
    at write_ (undefined:742:11)
    at write (undefined:707:15)
    at <anonymous> (undefined:56:40)
    at makeRequest (undefined:41:12)
    at getUserTokenByRefresh (undefined:121:12)
    at <anonymous> (undefined:26:10)
    at <anonymous> (undefined:31:3)
    at Module._compile (undefined:1103:14)
    at Module._extensions..js (undefined:1157:10)
    at Module.load (undefined:981:32)
    at Module._load (undefined:822:12)
    at executeUserEntryPoint (undefined:77:12)
    at <anonymous> (undefined:17:47)