Fantasy Premier League

פרמיום
על ידי pyuser | מְעוּדכָּן לפני 24 ימים | Sports
פּוֹפּוּלָרִיוּת

7.8 / 10

חֶבִיוֹן

570ms

רמת שירות

100%

Health Check

N/A

חזרה לכל הדיונים

issue with api

Rapid account: Samfranks
samfranks
לפני 4 חודשים

when using the player request, the code won’t run due to it being unable to read the properties of ‘photo’

Rapid account: Pyuser
pyuser Commented לפני 4 חודשים

Can you share the request you are sending? Rapid doesn’t show me what value you are passing to the /player endpoint

I can see you sent a request to the /player endpoint which requires the player id (e.g, /player/6). Perhaps you meant to send the request to /players ?

Rapid account: Samfranks
samfranks Commented לפני 4 חודשים

now it outputs {‘message’: ‘Error: Player not found’} , I don’t know if it’s an issue on my end or not because I’m not requesting the player name so I’m confused.

Rapid account: Pyuser
pyuser Commented לפני 4 חודשים

Thanks for letting me know - its fixed now

הצטרף לדיון - הוסף תגובה למטה:

התחבר / הירשם כדי לפרסם תגובות חדשות