How long limit for GS1QRCode

Posted by: michael.zhong on 27 June 2025, 4:36 am EST

  • Posted 27 June 2025, 4:36 am EST

    When we used GS1QRCode to build a label, it will show “invalid barcode data” with “0136972530697928112506261727062610792005F262193792105F26C011”. we try change the barcode data length to 54 of “0136972530697928112506261727062610792005F262193792105F”, it’s ok.

    What’s the limit for GS1QRCode?

  • Posted 30 June 2025, 1:45 am EST

    (sorry for type mistake)

    When we used GS1DataMatrix to build a label, it will show “invalid barcode data” with “0136972530697928112506261727062610792005F262193792105F26C011”. we try change the barcode data length to 54 of “0136972530697928112506261727062610792005F262193792105F”, it’s ok.

    What’s the limit for GS1DataMatrix ?

  • Posted 30 June 2025, 4:10 am EST

    Hi Michael,

    >> What’s the limit for GS1DataMatrix ?

    We tested GS1DataMatrix with various lengths and could observe that it can hold characters up to a maximum length of 54 characters. Please let us know if you need any help with this.

    Regards,

    Anand

  • Posted 30 June 2025, 10:53 am EST

    Thanks, Can you generate a correct GS1 DM with 0136972530697928112506261727062610792005F262193792105F26C011? We always get the wrong message ‘invalid barcode data’.

  • Posted 30 June 2025, 11:03 am EST - Updated 30 June 2025, 11:08 am EST

    You can see my screen as below.

  • Posted 1 July 2025, 3:15 am EST

    Hi Michael,

    As per our observation, you cannot display a GS1DataMatrix with content having greater than 54 characters, therefore, we have escalated this case to our development team (Internal ID: AR-35934) to get their insights on this issue if any resolution/workaround is possible and will let you know as soon as we have any updates regarding the same.

    Regards,

    Anand

  • Posted 1 July 2025, 3:40 am EST

    Hi Anand,

    Got it, thanks.

  • Posted 9 July 2025, 2:31 am EST

    Hi Michael,

    Our development team has notified that your value is good for DataMatrix, but fails to satisfy the guidelines for GS1 DataMatrix, which is why it gets an invalid barcode error.

    To test if your value passes as a GS1 DataMatrix, we’ll recommend trying your value in an online tool such as Aspose:

    Notice how your value passes in DataMatrix but fails in GS1 DataMatrix.

    Regards,

    Anand

  • Posted 9 July 2025, 4:12 am EST - Updated 9 July 2025, 4:17 am EST

    We try use “(01)36972530692411(11)250626(17)270626(10)238005626(21)93238105626A031” to generate a GS1 DM via aspose website, it’s ok. But it still show “invalid barcode data” in activereport designer.

  • Posted 10 July 2025, 5:10 am EST

    Hello Michael,

    We too can observe the issue at our end and discussing it further with the development team.

    We will get back to you as soon as we get the update from the developers.

    Regards,

    Prabhat Sharma.

  • Posted 16 July 2025, 11:35 am EST

    Hello, what’s the status?

  • Posted 17 July 2025, 5:54 am EST - Updated 17 July 2025, 5:59 am EST

    Hello Michael,

    As per the latest updates from our development team, this appears to be a bug and is currently on their to-do list. However, there is no ETA for a fix at this moment.

    In the meantime, they have suggested a workaround: using a plain DataMatrix barcode with FNC1 represented at the beginning. Please find the updated barcode data below:

    \n0136972530692411112506261727062610238005626\x1D2193238105626A031

    Kindly let us know if this workaround resolves the issue for you.

    If not, we would appreciate it if you could share more details about your use case for requiring a GS1 DataMatrix QR specifically, so we can explore alternative solutions or escalate accordingly.

    Best regards,

    Prabhat Sharma

  • Posted 18 July 2025, 6:06 am EST

    Hello Sharma, it still not working for our project requirement, where can set the FNC1 code?

  • Posted 21 July 2025, 7:08 am EST

    Hello Michael,

    We are discussing this with the development team and will get back to you with the updates soon.

    In AR you can use new line symbol as FNC1 so we updated the barcode data in the last post as per this specifications.

    Regards,

    Prabhat Sharma.

  • Posted 24 July 2025, 7:10 am EST

    Hello Michael,

    Please see the following data for the barcode and let us know if it works for you:

    =ToChar(10) & "0136972530692411112506261727062610238005626"&ToChar(29)&"2193238105626A031"
    

    The developers are working on the issue and we will update you as soon as we get any information from their end.

    Regards,

  • Posted 24 July 2025, 7:27 am EST

    NO, it shows the same error.

  • Posted 25 July 2025, 1:25 am EST

    Sure, we will update you as soon as we get some updates from the developer’s end.

  • Posted 29 July 2025, 6:59 am EST

    Hello,

    As per the development team, the problem is caused by Application Identifier (AI) 10. This AI represents data of varying lengths, from 1 to 20 symbols. Since we cannot automatically recognize when the data represented by this AI ends, the FNC1 symbol must be added to mark the end of the data.

    In AR, you can use the FNC1 symbol (0x1D) or the line break symbol (0x0A, or “\n”) to separate AIs of different lengths and generate a barcode that matches the GS1 format. So, to fix the problem, simply add a line break or FNC1 symbol right after the AI 10 data block, like this:

    Using line break:

    0136972530697928112506261727062610792005F26

    2193792105F26C011

    sing FNC1: =“0136972530697928112506261727062610792005F26” & ToChar(29) & “2193792105F26C011”

    Regards,

    Prabhat Sharma.

  • Posted 29 July 2025, 8:38 am EST

    Good news!

    Got it, that’s OK for me, thanks!

Need extra support?

Upgrade your support plan and get personal unlimited phone support with our customer engagement team

Learn More

Forum Channels