Invalid xml returned from API

A place for developers to advertise their TheTVDB.com enabled app and get help from other developers with the API.
Thilas
Posts: 2
Joined: Mon Apr 17, 2017 7:39 am

Invalid xml returned from API

Postby Thilas » Mon Apr 17, 2017 7:48 am

Hi,

As you can see when visiting this URL: http://thetvdb.com/api/694FAD89942D3827/series/78804/all/en.xml, the returned xml is invalid. Chrome gives the following error:

error on line 9590 at column 8: Opening and ending tag mismatch: Episode line 0 and Data


If you look closely at the xml, something is wrong writing episode 3x12 (id: 327381): it is not correctly closed (it does not even contain all its related data). And next episodes are then written right there, starting with episode 4x05 btw instead of 3x13.

Coco
Site Admin
Posts: 2595
Joined: Tue Mar 13, 2007 10:16 pm
Location: Canada

Re: Invalid xml returned from API

Postby Coco » Mon Apr 17, 2017 4:07 pm

It's already fixed. Sometimes the XML doesn't generate correctly and the series has to be resaved to fix it. Although I should note the xml based API is being turned off if you're still using it I'd highly suggest changing over to the new API.

viewtopic.php?f=3&t=36557
Please don't PM me. Post in the forums instead unless there is a very good reason for a PM or I won't respond.

Thilas
Posts: 2
Joined: Mon Apr 17, 2017 7:39 am

Re: Invalid xml returned from API

Postby Thilas » Mon Apr 24, 2017 2:23 pm

Thanks!

About using the new API, I transmitted the message to the developer.


Return to “Developers”

Who is online

Users browsing this forum: No registered users and 1 guest