{"section":"known-issues","requestedLocale":"en","requestedSlug":"an-error-has-occurred-when-adding-tracking-information","locale":"en","slug":"an-error-has-occurred-when-adding-tracking-information","path":"docs/en/known-issues/Order Management/an-error-has-occurred-when-adding-tracking-information.md","branch":"main","content":"## Summary\n\n\nWhen entering the tracking information when the invoice number contains spaces, the following error occurs (either via UI or API) \"`An error has occurred`\".\n\n## Simulation\n\n\nTo simulate or perform the analysis of this scenario, just:\n\n1. Insert an invoice (via API) to an order with spaces in the invoice number (make sure that the invoice doesn't contain any tracking information);\n2. Add tracking information via UI or API:\n3. Notice that you receive an error code 500 along with the \"`An error has occurred`\" message.\n\n## Workaround\n\n\nFor orders that are already invoiced with the space, and tracking is informed later, unfortunately there is no way to enter tracking data. However, to avoid this type of issue, the ideal is not to send space on the invoice, or inform the tracking data when inserting the invoice."}