fortnite-php icon indicating copy to clipboard operation
fortnite-php copied to clipboard

User not found

Open SpectreMz opened this issue 5 years ago • 10 comments

hi, i still use this api with php and get this error when search someone users. Fatal error: Uncaught exception 'Fortnite\Exception\UserNotFoundException' with message 'User NAMEPLAYER was not found.' in /web/htdocs/src/vendor/tustin/fortnite-php/src/Stats.php:79 Stack trace: #0 /web/htdocs/test.php(14): Fortnite\Stats->lookup('NamePlayer') #1 {main} thrown in /web/htdocs/src/vendor/tustin/fortnite-php/src/Stats.php on line 79 i get this error only with this api, if i use a web fortnite tracker finded on google, it' works.

SpectreMz avatar Jul 24 '18 15:07 SpectreMz

Not sure if you did this for the sake of anonymity, but you have NAMEPLAYER as a string when searching for a user. Was that intentional?

Tustin avatar Jul 24 '18 16:07 Tustin

yes, is intentional. thanks for reply, you have an idea of problem?

SpectreMz avatar Jul 24 '18 16:07 SpectreMz

Not totally sure at the moment. I'll have to take a look to see if something changed with the API. Are these brand new accounts you're trying to search for?

Tustin avatar Jul 24 '18 18:07 Tustin

no, not are new account, now send you a few nickname ok? gamer89076 PSN/PC

SpectreMz avatar Jul 24 '18 19:07 SpectreMz

Michele_Uchiha89 PSN

SpectreMz avatar Jul 24 '18 20:07 SpectreMz

if u need other information tell me, thanks tustin

SpectreMz avatar Jul 24 '18 20:07 SpectreMz

xXMarionzoloXx MOBILE (same server as PC think)

SpectreMz avatar Jul 24 '18 20:07 SpectreMz

GT-JulMer PSN

SpectreMz avatar Jul 24 '18 20:07 SpectreMz

The only one I found via fortnitetracker or my tracker is the last GT-JulMer. on your error you are looking for the profile NamePlayer and this one does not exist so it is logical that it returns you an error, I do not understand your problem?

ermos avatar Jul 30 '18 11:07 ermos

I have a similar problem, I can't find the statistics of the player "Zelenion" with the API whereas I can find it on Fortnite Tracker (it's a PC only player)

mlcsthor avatar Apr 06 '19 12:04 mlcsthor