Error : Unable to transcode Buffer
See original GitHub issueHello, I am trying to get all columns of a table. I did this query :
connexion2
.query('SELECT top 1 * FROM '+tableName)
.then(data => {
for(var key in data[0])
{
console.log(key);
}
})
.catch(error => {
console.error(error);
});
But I get this error :
Uncaught Error: Unable to transcode Buffer [U_INVALID_CHAR_FOUND] at spawn.js :124
I found that it occurs only when I have a Ole object in my table (it works fine with other tables) I don’t want to get the image, I just need the column name. How can I achieve that?
Thank you very much.
Issue Analytics
- State:
- Created 5 years ago
- Comments:6 (2 by maintainers)
Top Results From Across the Web
Unable to convert buffer to string - javascript - Stack Overflow
I am able to get the ascii codes 6162 but they still aren't characters. javascript · node.js · string · buffer.
Read more >How to use the buffer.transcode function in buffer | Snyk
To help you get started, we've selected a few buffer.transcode examples, ... 'b', 'utf8'), /^Error: Unable to transcode Buffer \[U_ILLEGAL_ARGUMENT_ERROR\]/ ...
Read more >[100% Fixed] Plex Buffering & Stuttering Issues with 4K, Xbox ...
To fix Plex buffering errors with 4K videos, don't forget to enable the hardware acceleration for streaming. The hardware transcoding is not ...
Read more >UTF What? A Guide for Handling SAS Transcoding Errors with ...
Additionally, a common origin of the transcoding error is UTF-8 encoded ... the error generated by SAS when it is unable to transcode....
Read more >How to polyfill Buffer with Webpack 5 - viglucci.io
How to fix 'buffer is not defined' error and polyfill the Node.js Buffer ... The Webpack resolve.fallback configuration option allows us to ...
Read more >
Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free
Top Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
Hello For my problem I solved it using .schema(4) instead of query which retrieves the columns names. I’m so sorry aaronbean because I don’t have a solution for this problem. Good Luck…
I’m having this same issue in retrieving a field with BLOB data. I receive this error:
Error: Unable to transcode Buffer [U_INVALID_CHAR_FOUND] at transcode (internal/buffer.js:27:15) at ChildProcess.child.on.exitCode (F:\fst\lxr-converter\node_modules\node-adodb\lib\spawn.js:124:22) at emitTwo (events.js:126:13) at ChildProcess.emit (events.js:214:7) at maybeClose (internal/child_process.js:915:16) at Process.ChildProcess._handle.onexit (internal/child_process.js:209:5)
I’m running Node v8.15.0.
In my case, I really do need this data, as I’m exporting it into another database. Any suggestions? Thanks!