Site
Home / Forum / Developers / Response format error - Next 15 Events (API)

Response format error - Next 15 Events (API)


Posted: 28 Dec 2017 10:47

ashwin
Posts: 2
Joined: Dec 2017

Hi Team,

There seem to be an incorrect format in one of the API

API:

https://www.thesportsdb.com/api/v1/json/ ... hp?id=4456


Response:

<br />
<b>Notice</b>: Undefined variable: round in <b>C:\inetpub\thesportsdb\api\v1\json\1\eventsnextleague.php</b> on line <b>17</b><br />
{"events": .......}


Kindly respond soon.

Thank You

Posted: 30 Dec 2017 16:41

zag
Posts: 1,558
Joined: Oct 2016

Thanks yes I noticed this as well, looking at it now...

EDIT: I think I fixed this yesterday actually. Let me know if its working again now.

Posted: 02 Jan 2018 09:21

ashwin
Posts: 2
Joined: Dec 2017

Thanks! Its working now.

Found another Bad link. Kindly look into this

API:

https://www.thesportsdb.com/api/v1/json/ ... 328&s=1415

Response:

{"events":[{...

}]}<br />
<b>Notice</b>: Undefined index: all in <b>C:\inetpub\thesportsdb\api\v1\json\1\eventsseason.php</b> on line <b>36</b><br />

Posted: 03 Jan 2018 15:32

zag
Posts: 1,558
Joined: Oct 2016

Thanks, it looks like the same error as the last one.

I fixed this also.

Let me know if you find any more...

Posted: 06 Jan 2018 22:52

edalex
Posts: 88
Joined: Mar 2017

Hi, zag.
Still a problem https://www.thesportsdb.com/api/v1/json/ ... 328&s=1617
<br />
<b>Notice</b>: Undefined index: all in <b>C:\inetpub\thesportsdb\api\v1\json\...\eventsseason.php</b> on line <b>36</b><br />
Fun thing I can't see it in browser...

Posted: 08 Jan 2018 09:20

zag
Posts: 1,558
Joined: Oct 2016

That JSON is returning fine for me today. I wonder if its due to the data available.

Are you using your api personal key? If so can you post the first few letters so I can check it? Maybe I forgot to push the changes...

Posted: 08 Jan 2018 11:24

edalex
Posts: 88
Joined: Mar 2017

That JSON is returning fine for me today. I wonder if its due to the data available.

Are you using your api personal key? If so can you post the first few letters so I can check it? Maybe I forgot to push the changes...

My API key is 697562....
I was wrong it depends of different request headers in browser and app. With key "1" json is ok but with my personal key it's corrupt

Posted: 09 Jan 2018 12:02

zag
Posts: 1,558
Joined: Oct 2016

Yep apologizes, I just didn't copy the updated files over

Should work now.

Anything cool coming in the MediaPortal world?

Posted: 09 Jan 2018 16:26

edalex
Posts: 88
Joined: Mar 2017

Yep apologizes, I just didn't copy the updated files over

Should work now.

Anything cool coming in the MediaPortal world?

Yeah, I'm in coding mood again.
I'm working on GUI Importer atm and i've dropped some new problems in another thread here

Posted: 10 Jan 2018 15:24

zag
Posts: 1,558
Joined: Oct 2016

Fixed the simple requests for you


Who is Online?

In total there are 68 users online :: 3 registered, 0 hidden and 65 guests (based on users active over the past 5 minutes) Most users ever online was 424 on Fri Nov 10, 2017 9:02 pm

About Us

Discussion forum for TheSportsDB.com site and related topics

Rules

- Be Polite
- Respect other users
- Always post log files with issues
- Try to be helpful
- No Piracy discussion

Showing 0 to 10 (Total: 10)