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
I was able to figure this out. Content-Type: Application/json needs to be added as header parameter for this to succeed.
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.
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.
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.
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.