Skip to main content
cancel
Showing results for 
Search instead for 
Did you mean: 

Did you hear? There's a new SQL AI Developer certification (DP-800). Start preparing now and be one of the first to get certified. Register now

Reply
Anonymous
Not applicable

Connection Error

Dear Altruists, 

 

I am trying to get JSON data via rest api url. The rest api url I have is not SSL secured. 

When I am trying to provide user credentials it is showing the error that "Underlying connection is closed"

Is there any way to bypass this SSL certificate and establish the connection. 

If i can not by pass what else I can do to get the data from that REST API url. 

getdata.PNGunsecuredURL.PNG

 

1 ACCEPTED SOLUTION

Hi @Anonymous 

The problem is caused by thhe system the API is on not having an SSL certificate and therefore not supporting an HTTPS connection.

There's nothing you can do from your end on your PC to fix this, the changes must be made on the system/computer hosting the API.

Regards

Phil



Did I answer your question? Then please mark my post as the solution.
If I helped you, click on the Thumbs Up to give Kudos.


Blog :: YouTube Channel :: Connect on Linkedin


Proud to be a Super User!


View solution in original post

6 REPLIES 6
PhilipTreacy
Super User
Super User

Hi @Anonymous 

Do you have access to the API system to install an SSL certificate?  Most people don't and your initial query didn't indicate that you did.

The problem is that the API doesn't support SSL/HTTPS.  If you can install an SSL cert on the system hosting the API then that will fix the issue.

Regards

Phil



Did I answer your question? Then please mark my post as the solution.
If I helped you, click on the Thumbs Up to give Kudos.


Blog :: YouTube Channel :: Connect on Linkedin


Proud to be a Super User!


Anonymous
Not applicable

No I don't have the access to the API to install SSL. Our netowrker team currently can't provide the SSL certificate on that. I have have the credentials to access the API and the JSON files. 

SO they suggested me the links 

https://powerbi.microsoft.com/pl-pl/blog/ssl-security-error-with-data-source/

I downloaded the self signed certificate by following the link

https://www.panagenda.com/kbase/display/DM/How+to+export+your+self-signed+appliance+SSL+certificate+...

 

But still getting the same error. 

 

Is it possible to do it from my side. Enforce self signed certificate in Local machine. 

If not then what shall i response to the networker team cause I am naive to the networ server security issues.

Hi @Anonymous 

The problem is caused by thhe system the API is on not having an SSL certificate and therefore not supporting an HTTPS connection.

There's nothing you can do from your end on your PC to fix this, the changes must be made on the system/computer hosting the API.

Regards

Phil



Did I answer your question? Then please mark my post as the solution.
If I helped you, click on the Thumbs Up to give Kudos.


Blog :: YouTube Channel :: Connect on Linkedin


Proud to be a Super User!


PhilipTreacy
Super User
Super User

Hi @Anonymous 

Is your API URL using HTTPS?  Try just using HTTP://

Regards

Phil



Did I answer your question? Then please mark my post as the solution.
If I helped you, click on the Thumbs Up to give Kudos.


Blog :: YouTube Channel :: Connect on Linkedin


Proud to be a Super User!


Anonymous
Not applicable

I have found the following one as well. 

https://powerbi.microsoft.com/pl-pl/blog/ssl-security-error-with-data-source/

I downloaded the self signed certificate by following the link

https://www.panagenda.com/kbase/display/DM/How+to+export+your+self-signed+appliance+SSL+certificate+...

 

But still getting the same error. 

VijayP
Super User
Super User

@Anonymous 

Try this thread and let me know if this is helpful

https://community.powerbi.com/t5/Power-Query/Pull-data-from-a-REST-API-Authentication/td-p/246006




Did I answer your question? Mark my post as a solution! Appreciate your Kudos!!
MY Blog || My YouTube Channel || Connect with me on Linkedin || My Latest Data Story - Ageing Analysis

Proud to be a Super User!


Helpful resources

Announcements
April Power BI Update Carousel

Power BI Monthly Update - April 2026

Check out the April 2026 Power BI update to learn about new features.

Fabric SQL PBI Data Days

Data Days 2026 coming soon!

Sign up to receive a private message when registration opens and key events begin.

New to Fabric survey Carousel

New to Fabric Survey

If you have recently started exploring Fabric, we'd love to hear how it's going. Your feedback can help with product improvements.

Power BI DataViz World Championships carousel

Power BI DataViz World Championships - June 2026

A new Power BI DataViz World Championship is coming this June! Don't miss out on submitting your entry.