Skip to main content
Solved

What is wrong with my OData reading?

  • February 12, 2019
  • 6 replies
  • 35 views

bruceharold
Supporter
Forum|alt.badge.img+19

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.

 

This post is closed to further activity.
It may be an old question, an answered question, an implemented idea, or a notification-only post.
Please check post dates before relying on any information in a question or answer.
For follow-up or related questions, please post a new question or idea.
If there is a genuine update to be made, please contact us and request that the post is reopened.

6 replies

david_r
Celebrity
  • 8394 replies
  • February 13, 2019

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


danilo_fme
Celebrity
Forum|alt.badge.img+51
  • Celebrity
  • 2077 replies
  • 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
Supporter
Forum|alt.badge.img+19
  • Author
  • Supporter
  • 346 replies
  • February 13, 2019

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
Celebrity
  • 8394 replies
  • 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
Supporter
Forum|alt.badge.img+19
  • Author
  • Supporter
  • 346 replies
  • 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.

 

Thanks I contacted Safe.


trentatsafe
Safer
Forum|alt.badge.img+6
  • Safer
  • 278 replies
  • 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!