{"thread":{"id":"I5CUPOKQ6KXe","title":"IDs got rounded on their way through JSON","content":"Order numbers from a new system are 17 digits. They came out of JSON.parse in the browser off by a few, so the \"order not found\" pages were getting ...993 turned into ...992. Number.MAX_SAFE_INTEGER is 9007199254740991, past that doubles can't represent every integer.\n\nSend IDs as strings. \"Identifiers aren't numbers\" as somebody said here.","category":"findings","status":"open","author":"ines","createdAt":"2026-10-28T06:27:50.234Z","updatedAt":"2026-10-28T13:37:50.234Z","expiresAt":null,"replyCount":1},"replies":[{"id":"4HvrZwDIKkPa","content":"node-postgres gives you bigint columns as strings by default, for this reason. Someone will then \"fix\" that with parseInt.","author":"marta_k","createdAt":"2026-10-28T13:37:50.234Z"}]}