Invalid Message (state: 103)
See original GitHub issueHello, on validating my signature I get the following error:
Error: Invalid message: {"success":false,"state":103,"length":346,"matched":0,"maxMatched":6,"maxTreeDepth":15,"nodeHits":198,"inputLength":346,"subBegin":0,"subEnd":346,"subLength":346}
My message is:
'https://flash1.com wants you to sign in with your Ethereum account:\n0x1666A067759db93dC6E9E609BDcD7fAF31A1CE8B\n\n{"requestPath":"v3/test","method":"POST","body":"{}","timestamp":"2021-01-08T10:06:12.500Z"}\n\nURI: undefined\nVersion: 1\nChain ID: 1\nNonce: 2DaPHLOPicOFMTXpH\nIssued At: 2022-04-27T22:11:44.854Z\nExpiration Time: 2022-04-27T22:12:14.854Z'
or in SiweMessage form:
address:'0x1666A067759db93dC6E9E609BDcD7fAF31A1CE8B'
chainId:1
domain:'https://flash1.com'
expirationTime:'2022-04-27T22:12:14.854Z'
issuedAt:'2022-04-27T22:11:44.854Z'
nonce:'2DaPHLOPicOFMTXpH'
statement:'{"requestPath":"v3/test","method":"POST","body":"{}","timestamp":"2021-01-08T10:06:12.500Z"}'
version:'1'
The validation fails here: node_modules/@spruceid/siwe-parser/dist/abnf.js:267:19)
Appreciate any help, i’m at a loss
Issue Analytics
- State:
- Created a year ago
- Reactions:1
- Comments:7 (3 by maintainers)
Top Results From Across the Web
Statuscode Description 102 • • 103 • • 105 106 • • 107 • • 108 ...
SMS -transmission conditions. Signal Card ... 103. AC voltage too low ... No AC grid detected / Wrong AC Grid State detected.
Read more >Swift general error codes - Messaging FIN Error ... - Studocu
messaging fin error codes this reference guide lists the error codes and abort notifications returned fin in case of message validation errors or...
Read more >FIN - Error Codes
103 :TPS is present in the message but the sender is not a member of TPS, or the message is not allowed for...
Read more >SMPP Error Codes - OpenMarket
Hex value Decimal Description
0x00000000 0 No Error
0x00000001 1 Message length is invalid
0x00000002 2 Command length is invalid
Read more >Text Validation Error Codes - IBM
SWIFT Error Code Translator Report Error Number Error Description
M50 901 Message length exceeded
T12 915
T13 916
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
@awoie Tried it out now and looks good to me! Thanks!
Our new beta release should have fixed that. It introduces an error:
INVALID_URI = 'URI does not conform to RFC 3986.',
Does this address your issue? @ycryptx @monkybrain