Completed
Last Updated: 31 Jan 2024 15:12 by ADMIN
Release 2024 Q1
Tursunkhuja
Created on: 27 Apr 2021 04:08
Type: Feature Request
16
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,

11 comments
ADMIN
Nikolay
Posted on: 31 Jan 2024 15:12

Hello Tursunkhuja

The requested feature was implemented in Progress® Telerik® Reporting 2024 Q1 (18.0.24.130) release.

From now on, when WebServiceDataSource error occurs, in addition to the HTTP error inner error message will also be shown. No changes are needed on your part.

For example, if we use the WebServiceDataSource that you provided and try to render report in HTTP5 viewer we will get the following error message.

If the report is in design mode in addition to this error message, you will also be able to see Inner Exception Message and Inner Exception Type. This is the error message that is shown for the same report in Web Report Designer.

Regards, Nikolay Progress Telerik

Stay tuned by visiting our roadmap and feedback portal pages, enjoy a smooth take-off with our Getting Started resources, or visit the free self-paced technical training at https://learn.telerik.com/.
ADMIN
Milen | Product Manager @DX
Posted on: 31 Jan 2024 11:32

Hi,

You can now try the improved error messages in the 2024 Q1 release. Any feedback is welcome.

Regards,
Milen | Product Manager @DX
Progress Telerik

Stay tuned by visiting our roadmap and feedback portal pages, enjoy a smooth take-off with our Getting Started resources, or visit the free self-paced technical training at https://learn.telerik.com/.
Tursunkhuja
Posted on: 31 Jan 2024 11:29

Hi Todor,

 

Does the current feature request is completed with this release Telerik Reporting - Progress® Telerik® Reporting 2024 Q1 (18.0.24.130)? Because I didn't find this one from the list of the completed items. Also, if you give an example of code how to use it (how to get internal error message), will be good.  

 

Thanks,

 

 

ADMIN
Todor
Posted on: 08 Jun 2023 12:52

Hello Tursunkhuja,

The item is now on our roadmap.

We are targeting the implementation of this functionality for R1 2024 scheduled for January 31st, 2024.

Regards,
Todor
Progress Telerik

Stay tuned by visiting our roadmap and feedback portal pages, enjoy a smooth take-off with our Getting Started resources, or visit the free self-paced technical training at https://learn.telerik.com/.
Tursunkhuja
Posted on: 02 Jun 2023 05:00

Hi,

It really helps us to show good message to user and how to fix a report issue quickly when there is an error in the rendering of the report. When you expect to work on this item? This is requested long ago and got voted several users. 

 

Thank you!

 

 

ADMIN
Neli
Posted on: 06 May 2022 08:15

Hi Tursunkhuja,

I am afraid that feature is not planned yet. Once it is planned, you will get a notification.

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/.
Tursunkhuja
Posted on: 03 May 2022 13:09

Hi, 

Do you have this item in the roadmap and will it be fixed soon?

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?