Bruno changes last digits to zeros when receives long numbers in get response #2830
-
Hi, is anyway to avoid this in response? Can confirm that the same API working fine from other tools and browser |
Beta Was this translation helpful? Give feedback.
Replies: 1 comment
-
This has been fixed in Note: If your response is Json, and it contains BigInt values, they may become corrupted during parsing because Bruno automatically processes the response data using JSON.parse(), which doesn’t natively support BigInt. This can result in a loss of precision for these values. To prevent automatic parsing and work directly with the raw response data, add the below expression to the pre-request script. req.disableParsingResponseJson(); Please see doc: https://docs.usebruno.com/advanced-guides/working-with-bigint |
Beta Was this translation helpful? Give feedback.
This has been fixed in
v1.29.0
Note: If your response is Json, and it contains BigInt values, they may become corrupted during parsing because Bruno automatically processes the response data using JSON.parse(), which doesn’t natively support BigInt. This can result in a loss of precision for these values.
To prevent automatic parsing and work directly with the raw response data, add the below expression to the pre-request script.
Please see doc: https://docs.usebruno.com/advanced-guides/working-with-bigint