TypeError('value is out of bounds')
See original GitHub issueThis error is crashing my app, and I’m having a hard time tracking down the parameter and value that’s causing it:
buffer.js:784
    throw TypeError('value is out of bounds');
          ^
TypeError: value is out of bounds
    at TypeError (<anonymous>)
    at checkInt (buffer.js:784:11)
    at Buffer.writeUInt32LE (buffer.js:841:5)
    at WritableTrackingBuffer.writeUInt32LE (./node_modules/mssql/node_modules/tedious/lib/tracking-buffer/writable-tracking-buffer.js:92:17)
    at Object.TYPE.writeParameterData (./node_modules/mssql/node_modules/tedious/lib/data-type.js:264:25)
    at new RpcRequestPayload (./node_modules/mssql/node_modules/tedious/lib/rpcrequest-payload.js:66:22)
    at Connection.execSql (./node_modules/mssql/node_modules/tedious/lib/connection.js:712:56)
    at ./node_modules/mssql/lib/tedious.js:563:33
    at Transaction.next (./node_modules/mssql/lib/main.js:738:28)
    at Request._release (./node_modules/mssql/lib/main.js:895:33)
    at Request.userCallback (./node_modules/mssql/lib/tedious.js:462:23)
It’s happening in a batch of about 2k inserts inside a transaction. Any pointers to figuring this out would be greatly appreciated.
Issue Analytics
- State:
- Created 9 years ago
- Comments:8
 Top Results From Across the Web
Top Results From Across the Web
Cassandra - TypeError: "value" argument is out of bounds
You are trying to set a value to something > 2^31-1 which is the max represented value in signed 32 bit integer.
Read more >Cannot read property of undefined in JavaScript - Stack Diary
You are trying to access an index of an array that is out of bounds. You are trying to call a function that...
Read more >TypeError: "x" is not a function - JavaScript - MDN Web Docs
The JavaScript exception "is not a function" occurs when there was an attempt to call a value from a function, but the value...
Read more >How to Fix IndexError in Python - Rollbar
This error occurs when an attempt is made to access an item in a list at an index which is out of bounds....
Read more >Built-in Exceptions — Python 3.11.1 documentation
Raised when a sequence subscript is out of range. (Slice indices are silently truncated to fall in the allowed range; if an index...
Read more > Top Related Medium Post
Top Related Medium Post
No results found
 Top Related StackOverflow Question
Top Related StackOverflow Question
No results found
 Troubleshoot Live Code
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
Top Related Reddit Thread
No results found
 Top Related Hackernoon Post
Top Related Hackernoon Post
No results found
 Top Related Tweet
Top Related Tweet
No results found
 Top Related Dev.to Post
Top Related Dev.to Post
No results found
 Top Related Hashnode Post
Top Related Hashnode Post
No results found

Wtf u talk m8s kys lel lmao 420
This is (was) and issue with the tedious driver which is now fixed. Please use the latest version of node-mssql if you wish to resolve this issue. locking this thread as resolved