2025.07.30 10:46:53 INFO [bots.engine] Connected to database.
2025.07.30 10:46:53 INFO [bots.engine] Run "new".
2025.07.30 10:46:53 INFO [bots.engine] Run active routes from database that are in default run: "['Test850']".
2025.07.30 10:46:53 START [bots.engine] Running route: Test850 0
2025.07.30 10:46:53 START [bots.engine] Start communication channel in: inbound_in_850 (file)
2025.07.30 10:46:53 DONE [bots.engine] Finished communication channel in: inbound_in_850 (file)
***** In 850004010 Before Records *****
*** In Records004010 ***
***** In 850004010 After Records *****
*** In EnvelopeRecords ***
**In x12Syntax **
**** In x12 after imports ****
2025.07.30 10:46:54 ERROR [bots.engine] Traceback (most recent call last):
File "C:\Users\pahar\AppData\Roaming\Python\Python313\site-packages\bots\inmessage.py", line 74, in parse_edi_file
ediobject.initfromfile()
~~~~~~~~~~~~~~~~~~~~~~^^
File "C:\Users\pahar\AppData\Roaming\Python\Python313\site-packages\bots\inmessage.py", line 145, in initfromfile
leftover = self._parse(structure_level=self.defmessage.structure, inode=self.root)
File "C:\Users\pahar\AppData\Roaming\Python\Python313\site-packages\bots\inmessage.py", line 442, in _parse
raise botslib.InMessageError(
...<14 lines>...
)
bots.botslib.InMessageError: [S50]: Line:1 pos:1 record:"ISA": message has an error in its structure; this record is not allowed here. Scanned in message definition until mandatory record: "ST".
Thank you all,
Perry