Home › Forums › Barcode Generator › Generate Barcode Request – Bad Request
Tagged: Bad Request, Barcode Matrixcode
-
AuthorPosts
-
Kim Schröder
September 22, 2023 at 12:35 amPost count: 2Yesterday I allready stratet a new Topic on my problem. But unfortunately I was not able to naviagte back to my Topic. On Frontpage of the Forum it lists 14 Topic’s within Barcode Generator. But if I enter that Topic, only 13 topics are shown to me, where my original Topic is missing.
I have no Idea why.
anyways I have some Problem with my Implementation of Barcode Generator for MatrixBarcode.
Upon following Code-Line i get a “Bad Request” -Exception
<div>
<div> cuBarcodeManager.GenerateMatrixBarcode(TempBarcode, _DataMatrixText, size::”12×12″.AsInteger(), 8);</div>
</div>
I’m not shure about the parameter values I finally need, so thats why I hardcoded barcodeImageSize and barcodeMultiplier
<div>
<div> TempBarcode: Record “IWX Barcode” temporary;
<div>
<div>_DataMatrixText: Text</div>
</div>
</div>
</div>
<div></div>
<div>I get following Stacktrace Details upon Exception:
——————–</div>
<div>Wenn Sie Support anfordern, geben Sie bitte die folgenden Details zur Problembehandlung an.:
Bad Request
Interne Sitzungs-ID:
1da3a233-30ea-46c3-9fbb-cdba5d5c1ec0Application Insights-Sitzungs-ID:
fff21ac9-683f-417c-a83c-c17df1dca1a3Client-Aktivitäts-ID:
fab7349e-4fbd-4d0e-94ad-578b3a489f3aZeitstempel bei Fehler:
2023-09-21T08:45:38.6368919ZAl-Aufrufliste:
“IWX Library – Barcode Gen”(CodeUnit 23044800).GetResponse line 44 – Barcode Generator by Insight Works
“IWX Library – Barcode Gen”(CodeUnit 23044800).GenerateMatrixBarcode line 33 – Barcode Generator by Insight Works
“Datamatrix Code Ext Mgt”(CodeUnit 3012110).GetDataMatrixCode line 62 – myCharity by PRISMA Informatik AG
“Bulk Mail QR-RF Contact”(Report 3012175).SetDatamatrixCode line 10 – myCharity by PRISMA Informatik AG
“Bulk Mail QR-RF Contact”(Report 3012175).”Versandadressen – OnAfterGetRecord”(Trigger) line 48 – myCharity by PRISMA Informatik AG
“MSGraph Connector General”(CodeUnit 3089020).SaveReportAs line 11 – MS Graph Connector by PRISMA Informatik AG
“Document Job Queue Mgt”(CodeUnit 3012022).PrepareJobQueueEntriesFromDispatchOrder line 88 – myCharity by PRISMA Informatik AG
“Document Job Queue Mgt”(CodeUnit 3012022).PreparePDFFiles line 62 – myCharity by PRISMA Informatik AG
“Document Send Job Queue”(Page 3088562).”CreatePDFFile – OnAction”(Trigger) line 2 – myCharity by PRISMA Informatik AG
“Dispatch Order”(Page 3012079).”ProcessDispatchCont – OnAction”(Trigger) line 14 – myCharity by PRISMA Informatik AG</div>
<div>——————–</div>
<div></div>
<div>Generally i followed (at least i tried) some example implementation but still i can’t figure what the problem is.</div>
<div>Any help would be great.</div>
Travis Plett
September 25, 2023 at 8:53 amPost count: 91The size needs to be specified as an integer:
You can use the Barcode Generator’s enumerator 23044803 IWX Barcode Image Size.
You can also look at some sample reports to see how they are created:
Kim Schröder
September 26, 2023 at 1:21 amPost count: 2Tank your Travis for yor Time.
as you can see from my line of Code
cuBarcodeManager.GenerateMatrixBarcode(TempBarcode, _DataMatrixText, size::”12×12″.AsInteger(), 8);I do pass barcodesize as Integer (aswell as I use the provided enumtype of the barcode app)
All my trials where build accoringly to sample Reports, firtly loose but in the end a exact copy of the Code.
Sadly still running into the Bad Request Exception upon Matrix Generation.Travis Plett
September 26, 2023 at 9:15 amPost count: 91All I have to offer are the sample reports. For further troubleshooting, you would need to email your report source to support@dmsiworks.com for a developer to take a look at.
Note that email support for our free products is billable, so you would need to sign up as a partner first:
-
AuthorPosts
- You must be logged in to reply to this topic.