This is a migrated thread and some comments may be shown as answers.

2 Step Authentication not working

6 Answers 104 Views
Report Designer (standalone)
This is a migrated thread and some comments may be shown as answers.
Harsimrat
Top achievements
Rank 1
Harsimrat asked on 21 Mar 2019, 02:48 AM

We are trying to access our own servers using Web Data Source and are having issues with 2 Step Authentication. I have attached the screenshot with this email on how we have set it up, and on final page when we click Download, we get 401 unauthorized.

The same Url and body parameters are working through Postman. I was wondering if you can please help us identify what maybe wrong?

6 Answers, 1 is accepted

Sort by
0
Harsimrat
Top achievements
Rank 1
answered on 22 Mar 2019, 05:29 AM

I was able to figure this out. Content-Type: Application/json needs to be added as header parameter for this to succeed.

0
Silviya
Telerik team
answered on 22 Mar 2019, 09:34 AM
Hi Harsimrat,

Indeed, Content-Type: Application/json added as a parameter with type Header would retrieve the data. I'm happy that you've already figured it out.

Best Regards,
Silviya
Progress Telerik
Do you want to have your say when we set our development plans? Do you want to know when a feature you care about is added or when a bug fixed? Explore the Telerik Feedback Portal and vote to affect the priority of the items
0
Noah
Top achievements
Rank 1
answered on 17 Apr 2020, 04:57 PM
I'm running into a similar issue and I am not able to figure out how to create the Content-Type parameter.  Could you provide an example of this with a screenshot?
0
Noah
Top achievements
Rank 1
answered on 20 Apr 2020, 01:48 PM
I upgraded from version 13.2.19.1030 to 14.0.20.219 and I was then able to set ContentType on the datasource.
0
Javier
Top achievements
Rank 1
Veteran
answered on 08 Mar 2021, 04:00 PM

I have the R1 2021 version and despite configuring the form for two-step authentication, we still can't get it to connect, it gets a BadRequest error. We attach images of the configuration and the response obtained when invoking the API.

 

Thanks,

Javier

0
Dimitar
Telerik team
answered on 11 Mar 2021, 11:16 AM

Hello Javier,

Let me start by answering one of your earlier questions, setting the Content-Type header can be done the following way.

Regarding the error, 400 Bad Request response status code indicates that the server cannot or will not process the request due to something that is perceived to be a client error (e.g., malformed request syntax, invalid request message framing, or deceptive request routing).

Could you please check if the request works as expected with a tool like Postman for example? Are you sure that the data is correct?

Let me know if you have any updates on the isue.

Regards,
Dimitar
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.

Tags
Report Designer (standalone)
Asked by
Harsimrat
Top achievements
Rank 1
Answers by
Harsimrat
Top achievements
Rank 1
Silviya
Telerik team
Noah
Top achievements
Rank 1
Javier
Top achievements
Rank 1
Veteran
Dimitar
Telerik team
Share this question
or