QuestionsCategory: QuestionsJson Error
Vince Calabrese asked 9 months ago

Hello,When I put the feed url into Roku I get this error The server returned an unsupported content type. Was expecting ’application/rss+xml’, ’text/xml’, ’application/xml’ or ’application/json’ but received ’text/html; charset=UTF-8’. Any thoughts? Vince

3 Answers
Rob Staff answered 9 months ago

Hey Vince,

It sounds like you have Direct Publisher to grab XML feeds, not JSON. WP Smart TV uses JSON, so you’ll need to switch your app to use JSON instead.

~Rob

Vince Calabrese replied 9 months ago

Rob,

Here is a video that shows the issue. https://www.loom.com/share/88e31ded506242a5a7157997187a2f74

Rob Staff replied 9 months ago

That makes it a lot easier. The main problem is your JSON feed is not available because you don’t have Permalinks enabled on your site. Set them up in WordPress and that should fix the issues.

Let me know if you run into more 🙂

~Rob

Rob Staff answered 4 months ago

Hi There,

You need to have "Permalinks" enabled. See this document for instructions:

https://docs.microsoft.com/en-us/iis/extensions/url-rewrite-module/enabling-pretty-permalinks-in-wordpress

~Rob

DREIKO ARTS answered 4 months ago

Cheers,

I have a problem with wp smart tv, when I click on the json link, it does not generate the codes and it sends me a message like the one in the image