Ranter
Join devRant
Do all the things like
++ or -- rants, post your own rants, comment on others' rants and build your customized dev avatar
Sign Up
Pipeless API
From the creators of devRant, Pipeless lets you power real-time personalized recommendations and activity feeds using a simple API
Learn More
Comments
-
@stop This Edifact format is basically universal. but most of the time it's used for electronic transfer of invoices and similar documents.
-
hack64565yError: unexpected character ` on line 5, expecting '
I don't know what is this shit but my spider senses told me the error 😄 -
@hack That´s exactly it.
What makes it even worse:
The very first line defines that character throughout the rest of the file... -
xewl41715yThere's a few shipping carriers using these as fallback data, it even came to the point that I made a library to generate these for a customized label size (f DHL Parcel not giving me an A6-sized label... I don't want arbitrary A6+ :v)
This is the beginning of an edifact file, we received for the third time with the same error at a different line.
Let's see if someone here finds that error.
UNA:+.? '
UNB+UNOC:3+1+1+60:0931+1++1234567'
UNH+1+ORDERS:D:96A:UN'
BGM+220+B10001'
DTM+4:20190620:102`
LIN+1'
First time. Meh. Could happen to anyone.
Second time. Aw come on. Really?
Third time: Are you fucking serious?
We told them now two times what the problem with the file is.
How can you still manage to make the same error on a completely different line that didn't have that error before?
rant
edifact