alxnik / py8583

Python library implementing the ISO-8583 banking protocol
GNU Lesser General Public License v2.1
53 stars 28 forks source link

Error Parsing MTI response #10

Closed josedaudi closed 2 years ago

josedaudi commented 2 years ago

After receiving response from the socket, it fails to parse the message received. py8583.py8583.parseerror: 'invalid mti: [\x01$02]'

alxnik commented 2 years ago

Hello @josedaudi ,

The error signifies that the message you are receiving is invalid according to the library's rules. There might be an error in the message you are receiving or the iso8583 variant configuration you have set up the library with.

josedaudi commented 2 years ago

The response I'm receiving is

b'\x01$0210F23A40550AE0812C0000000016000020164839123456709012402010000000014300061702401520202902401506170617601212D00100000C0'

When i try to parse it i get the error mentioned.

alxnik commented 2 years ago

This is not a bug of the library so if you don't mind, I'll close this ticket.

josedaudi commented 2 years ago

Okay, if you don't mind can you assist on how to parse the response above using the library