while i am submitting the x12 data from admin page , i have encountered the error Invalid data - [Unexpected large segment] and the x12 was not recognized, while i checked in activity log i see a series of errors like EDI qualifier: , ID: [EDIFTN.000010.000232] and EDI qualifier: , ID: [EDIFTN.000010.000232]… could any one help me resolve this… i have attached the edi file i am submitting…
I am sure it seems your EDI file formatting is not right…some thing messed up the delimiters when you copy and past while submitting to TN and its a common unrecognized errror.
Please check the file closely and format it correctly with some record delimiter (end of each segment for example a pipe | can be used) to make your sample working:
If the record delimiter is newline ( which is the case for your attached EDI, then it cannot be submitted from Admin
page. This is a common issue which I have faced earlier. I had to create a custom service that will route the
EDI to TN. You can also try to do rnd on that.
take the inputs sender id,sender qualifier , receiver id , receiver qualifier , doc type , delimiters.
call the getTPA service to get the TPA based on sender and receiver , if TPA is there and delimiters are specified use them or else use ur input delimiters.
then call addgroups and addenvelope services (edi package ) and form the envelope.