cancel
Showing results for 
Search instead for 
Did you mean: 
Reply
rkannas
New Member

Odata V4 Invalid URI: The hostname could not be parsed

Hi Experts,

I am getting the following error while get data of my odata feed v4.  

Currently the service Authenticatinon is anonymous and no redirection and service works fine in browser and postman.

 

This is the odata url I am using.

https://testbook.cfapps.eu10.hana.ondemand.com/catalog

 

Error Message:

 

CgvSaVW'

 

 

 

Any suggestion would be helpful.

 

Regards,

Rajesh

1 ACCEPTED SOLUTION
rkannas
New Member

Issure Resolved:

@Odata.context is generated with relative URL.I have corrected the service to generate absolute URL.

 

odata_context.png

 

View solution in original post

3 REPLIES 3
rkannas
New Member

Issure Resolved:

@Odata.context is generated with relative URL.I have corrected the service to generate absolute URL.

 

odata_context.png

 

View solution in original post

aj1973
Community Champion
Community Champion

Hi @rkannas 

I think you need to add ".svc" after Catalog

https://testbook.cfapps.eu10.hana.ondemand.com/catalog.svc

 

Regards
Amine Jerbi

If I answered your question, please mark this thread as accepted
and you can follow me on
My Website, LinkedIn and Facebook

You can click the service to test. .svc is not part of the url.

Helpful resources

Announcements
PBI_User Group Leader_768x460.jpg

Manage your user group events

Check out the News & Announcements to learn more.

Get Ready for Power BI Dev Camp

Microsoft named a Leader in The Forrester Wave

Microsoft received the highest score of any vendor in both the strategy and current offering categories.

Get Ready for Power BI Dev Camp

Power BI Dev Camp - September 30th, 2021

Mark your calendars and join us for our next Power BI Dev Camp!

PowerPlatform 768x460.png

Microsoft Learn

Check out our new Discover Your Career Path blog post series and get all the details.

Top Solution Authors