Skip to main content
Solved

What is wrong with my OData reading?

  • February 12, 2019
  • 6 replies
  • 22 views

bruceharold
Contributor
Forum|alt.badge.img+17

Hi all, I'm attempting to read this service:

https://data.wprdc.org/datastore/odata3.0/f2b8d575-e256-4718-94ad-1e12239ddb92

Attempting to supply a value for the Feed List parameter results in an error:

Python Exception <ValueError>: Unrecognized content typeapplication/atom+xml;type=feed;charset=utf-8

I'm using 2018.1.1.0 64 bit

Best answer by david_r

It seems like the server is returning a content-type header that the FME OData reader doesn't know how to handle:

Content-Type: application/atom+xml;type=feed;charset=utf-8

I recommend that you contact Safe support about this issue, including a link to this thread.

 

View original
Did this help you find an answer to your question?

6 replies

david_r
Evangelist
  • February 13, 2019

How are you connecting to the URL? We'll need some more details.


danilo_fme
Evangelist
Forum|alt.badge.img+41
  • Evangelist
  • February 13, 2019

Hi @bruceharold

 

I agree @david_r Is necessary to give us more details.

Are you trying to connect like Reader?

 

I tested here using the transformer HTTPCaller:

In the transformer HTTPCaller I maked the download xml format, you can check these configurations the image above.

 

Thanks,

Danilo

 

 


bruceharold
Contributor
Forum|alt.badge.img+17
  • Author
  • Contributor
  • February 13, 2019
david_r wrote:

How are you connecting to the URL? We'll need some more details.

Sorry I didn't spell it out, I'm using the OData reader. I know I can call the URL as RSS or HTTP but the reader should work.


david_r
Evangelist
  • Best Answer
  • February 13, 2019

It seems like the server is returning a content-type header that the FME OData reader doesn't know how to handle:

Content-Type: application/atom+xml;type=feed;charset=utf-8

I recommend that you contact Safe support about this issue, including a link to this thread.

 


bruceharold
Contributor
Forum|alt.badge.img+17
  • Author
  • Contributor
  • February 13, 2019
david_r wrote:

It seems like the server is returning a content-type header that the FME OData reader doesn't know how to handle:

Content-Type: application/atom+xml;type=feed;charset=utf-8

I recommend that you contact Safe support about this issue, including a link to this thread.

 

Thanks I contacted Safe.


trentatsafe
Safer
Forum|alt.badge.img+6
  • Safer
  • February 22, 2019

Hello @bruceharold

 

 

I have filed an issue to track this behavior. I have also linked the posting to the internal Issue. I will post any updates as they become available!

Cookie policy

We use cookies to enhance and personalize your experience. If you accept you agree to our full cookie policy. Learn more about our cookies.

 
Cookie settings