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

We've captured the moments from FabCon & SQLCon that everyone is talking about, and we are bringing them to the community, live and on-demand. Starts on April 14th. Register now

Unable to create data source for Web API Connection

I have this issue where my on-premise gateway is working fine for everything except this Web Anonymous API , I get this error message:

Unable to create data source. Unable to connect to the data source. Either the data source is inaccessible, a connection timeout occurred, or the data source credentials are invalid. Please verify the data source configuration and contact a data source administrator to troubleshoot this issue

Details: Licensing PBI MSDWVATLCLAG01: The underlying connection was closed: An unexpected error occurred on a send. Please have this information handy if you choose to create a support ticket. ActivityId: d55804f1-a778-4fd1-8f0d-1570676f6a91 RequestId: dbef9c50-64fb-47b5-935c-4d21deeb2b5b Cluster URI: https://api.powerbigov.us Status code: 400 Time: Tue Oct 25 2022 08:42:54 GMT-0400 (Eastern Daylight Time)
Status: Needs Info
Comments
CLTJSDUDE82
Frequent Visitor

Note: I have selected and checked the box for "SKIP TEST CONNECTION"; Authentication Method is Anonymous; Privacy level: Public. 

Anonymous
Not applicable

Hi @CLTJSDUDE82 

Can you reproduce the steps you took to create the data source with a video or screenshot?

 

Best Regards,
Community Support Team _ Ailsa Tao

CLTJSDUDE82
Frequent Visitor

@Anonymous 

 

Below is how I have set it up the datasource and when I skip the test connection, it allow me to bypass and create this datasource but when I refresh this report on the PBI service I get the following error:

 

Underlying error code: -2147467259
Underlying error message: The underlying connection was closed: An unexpected error occurred on a send.
DM_ErrorDetailNameCode_UnderlyingHResult: -2147467259
Microsoft.Data.Mashup.ValueError.Detail: https://ws.appointment-plus.com
Microsoft.Data.Mashup.ValueError.Reason: DataSource.Error
Cluster URI: WABI-US-GOV-VIRGINIA-redirect.analysis.usgovcloudapi.net
Activity ID: 42edc763-c69d-4fbe-b941-8452168e8800
Request ID: 9b851486-198c-f577-7ef3-3e8c7c1a49ec
Time: 2022-10-26 12:57:44Z

Daysmart Datasource.jpg

CLTJSDUDE82
Frequent Visitor

I found the solution, the server the on-prem gateway is installed on didn't have access to internet until I try accesing and promtoted for my intrernet user name and password, once that was done i tried refreshing the PBI WEB SERVICE REFRESH and it worked fine.