aaron_bonntech wrote:Hi Mike,
Sorry for re-opening this thread. When i call the endpoint, i get an error:
["ResponseStatus"]=>
array(4) {
["ErrorCode"]=>
string(12) "COMException"
["Message"]=>
string(130) "Error in File MNT30000 - Invoice 25876_12052_{C6EFC67B-EAFC-421A-B38B-F2C95B530446}.rpt:
Page header or footer longer than a page."
["StackTrace"]=>
string(539) "[ReportsPDFGETRequest: 8/19/2022 12:06:59 AM]:
[REQUEST: {ReportID:8ce38d28-d320-4b82-9038-8cf2b1880ca4}]
System.Runtime.InteropServices.COMException (0x80000237): Error in File MNT30000 - Invoice 25876_12052_{C6EFC67B-EAFC-421A-B38B-F2C95B530446}.rpt:
Page header or footer longer than a page.
at CrystalDecisions.ReportAppServer.Controllers.ReportSourceClass.Export(ExportOptions pExportOptions, RequestContext pRequestContext)
at CrystalDecisions.ReportSource.EromReportSourceBase.ExportToStream(ExportRequestContext reqContext)"
["Errors"]=>
array(0) {
}
}
Im hitting /Reports/8ce38d28-d320-4b82-9038-8cf2b1880ca4/PDF/Download with parameter: "ReportParameters" => ["Pass_SP_InvoiceHistoryID" => "99608b0907d949519af9"]
Are there more parameters i need to pass?
Hi aaron,
In addition to Scott's suggestions, show us the exact request you are sending - like the exact url (minus the domain name if you like) - what you said you were providing:
"ReportParameters" => ["Pass_SP_InvoiceHistoryID" => "99608b0907d949519af9"]
Is very different to the working example I provided in my earlier comment - it looks like :
ReportParameters=%7BName:Pass_SP_InvoiceHistoryID,Value:000000000800000000NL%7D
If you don't know the exact query string, use something like Fiddler to capture it on the way out.
EDIT: Or, if you have DebugMode enabled for the jiwa api, hiiting /requestlogs should show you the raw request URL's.