Unplanned
Last Updated: 13 Oct 2021 07:59 by ADMIN
Tursunkhuja
Created on: 27 Apr 2021 04:08
Type: Feature Request
8
How to get report internal error message

Hello,

We use WebServiceDataSource with OData query in our reports. Sometimes OData can through an exception.

In our case, we have added Web Service DataSource and set this OData query for its Service Url:

https://services.odata.org/V3/Northwind/Northwind.svc/Products(1)?$select=ProductName1

If you see the query, it is selecting "ProductName1" property of "Product #1". But "ProductName1" property does not exist (correct property name is "ProductName"). When we use Postman for the OData query above, it shows an error which you can see from attached picture (ErrorWhenWeUsePostman.PNG, "Could not find a property named 'ProductName1' on type 'NorthwindModel.Product'"). From the second picture (TelerikReportingGeneralError.PNG, "An error has occurred... Response status code does not indicate success: 400 (Bad Request).") you can see the result of our test report (in html5 report viewer) that has the same OData query.

The question is when we preview our report (in html5 report viewer) how can we show the error message that OData sent instead of showing Telerik reporting general error?
Instead of this message:

An error has occurred while processing Report 'TestReportWithWebServiceDataSource': Response status code does not indicate success: 400 (Bad Request).

This OData error message should be handled and shown on browser (html5 report viewer) when previewing report:

Could not find a property named 'ProductName1' on type 'NorthwindModel.Product'

FYI: We are using Telerik Reporting version 15.0.21.224.

This is my post on Telerik forum related with this: How to get internal error message from Custom Report Resolver

Thank you,

4 comments
ADMIN
Neli
Posted on: 13 Oct 2021 07:59

Hi Mirzodaler,

Note that if you need a feature or fix implemented sooner than our roadmap implies, there is a separate service that we might be able to offer - we call it the Feature Acceleration Program, and the idea is to let you negotiate a deal with our management for the implementation of said feature/bug in a given timeframe and to even influence the specification. If you would be interested in that, let me know so I can start the process for you.

If you have further questions do not hesitate to ask.

Regards,
Neli
Progress Telerik

Brand new Telerik Reporting course in Virtual Classroom - the free self-paced technical training that gets you up to speed with Telerik and Kendo UI products. Check it out at https://learn.telerik.com/.
Mirzodaler
Posted on: 06 Oct 2021 11:03

Hi,

Is there a way to increase the priority of this item? We are getting close to release our product and we rely on this reporting tool and would like to provide a great experience for the users.

Thanks,

ADMIN
Neli
Posted on: 07 May 2021 06:07

Hello Tursunkhuja,

The status of the item is "Unplanned". Note that we prioritize our feature requests and bug reports by the number of votes and some other aspects. Once there is update on the status, you will get a notification.

Regards,
Neli
Progress Telerik

Love the Telerik and Kendo UI products and believe more people should try them? Invite a fellow developer to become a Progress customer and each of you can get a $50 Amazon gift voucher.

Tursunkhuja
Posted on: 04 May 2021 04:11

Hi, 

What is the status of this item?