NicklasWallgren / PokemonGoAPI-PHP

Pokemon Go API PHP library
BSD 2-Clause "Simplified" License
130 stars 51 forks source link

Authentification Exception (sometimes) #172

Closed xmillies closed 7 years ago

xmillies commented 7 years ago

I get quite often this Exception :

( ! ) Fatal error: Uncaught NicklasW\PkmGoApi\Handlers\RequestHandler\Exceptions\AuthenticationException: Invalid authentication token provided in C:\WTServer\WWW\pogo\vendor\nicklasw\pkm-go-api\src\Handlers\RequestHandler.php on line 183
( ! ) NicklasW\PkmGoApi\Handlers\RequestHandler\Exceptions\AuthenticationException: Invalid authentication token provided in C:\WTServer\WWW\pogo\vendor\nicklasw\pkm-go-api\src\Handlers\RequestHandler.php on line 183
Call Stack
#   Time    Memory  Function    Location
1   0.0050  370224  {main}( )   ...\rename_pokemons.php:0
2   0.0740  1859480 renameAndSetFavorite( ) ...\users_rename.php:26
3   0.4800  2835880 NicklasW\PkmGoApi\Api\Procedure->getPokeBank( ) ...\functions.php:601
4   0.4800  2835936 NicklasW\PkmGoApi\Api\Procedure->__call( )  ...\functions.php:601
5   0.4800  2835936 NicklasW\PkmGoApi\Api\Player\Inventory->update( )   ...\Procedure.php:52
6   0.5010  2845336 NicklasW\PkmGoApi\Services\Request\InventoryRequestService->getInventory( ) ...\Inventory.php:69
7   0.5321  2877496 NicklasW\PkmGoApi\Handlers\RequestHandler->handle( )    ...\InventoryRequestService.php:27
8   7.3437  4274864 NicklasW\PkmGoApi\Handlers\RequestHandler->validateResponseEnvelope( )  ...\RequestHandler.php:129

When I just press F5 it works again.

Do you any idea on this issue ? Any trouble on Niantic Server or issue with authentification ?

Xavier

NicklasWallgren commented 7 years ago

Have you been able to narrow down the problem?

xmillies commented 7 years ago

Unfortunately this happens sometimes....

xmillies commented 7 years ago

No more since severeal days => close.