Comments (15)
What type of account are you using? PTC or Google?
from pokemongoapi-php.
Tried both
from pokemongoapi-php.
The invalid token error, is that related to the PTC account? Could to be the same issue as #7
"I just had this issue for ages on a brand new PTC account. I'd actually never logged in on the phone before, and when I attempted to I got the same error on my phone. After another try it worked but I still had to accept the license agreement and choose my character, so I'm not sure if it was just a server issue or it was because I hadn't logged in yet, but the error has gone now"
from pokemongoapi-php.
it happen on both AUTHENTICATION_TYPE_PTC is the right for PTC right?
from pokemongoapi-php.
Exactly, have you used the account in the app before? Check @tomhash response in #7
from pokemongoapi-php.
yes, both GMAIL & PTC.. Hmm
from pokemongoapi-php.
And the issue still remains in the latest release? I added a temporary latitude and longitude, but it should not make any difference.
from pokemongoapi-php.
I just downloaded the new version, not it's 30 second timeout
from pokemongoapi-php.
I have the same issue. Tried with both my account, PTC and Google, and I get this error
user@NAS:/volume1/web/_private/PokemonGoAPI-PHP-master/examples$ php RetrievePlayerProfile.php
PHP Fatal error: Uncaught exception 'NicklasW\PkmGoApi\Handlers\RequestHandler\Exceptions\AuthenticationException' with message 'Invalid authentication token provided' in /volume1/web/_private/PokemonGoAPI-PHP-master/src/Handlers/RequestHandler.php:90
Stack trace:
#0 /volume1/web/_private/PokemonGoAPI-PHP-master/src/Handlers/RequestHandler.php(98): NicklasW\PkmGoApi\Handlers\RequestHandler->handle(Object(NicklasW\PkmGoApi\Requests\GetPlayerRequest))
#1 /volume1/web/_private/PokemonGoAPI-PHP-master/src/Services/Request/PlayerRequestService.php(20): NicklasW\PkmGoApi\Handlers\RequestHandler->handle(Object(NicklasW\PkmGoApi\Requests\GetPlayerRequest))
#2 /volume1/web/_private/PokemonGoAPI-PHP-master/src/Api/Player/Profile.php(37): NicklasW\PkmGoApi\Services\Request\PlayerRequestService->getPlayer()
#3 /volume1/web/_private/PokemonGoAPI-PHP-master/src/Api/Player/Profile.php(25): NicklasW\PkmGoApi\Api\Player\Profile->update()
#4 /volume1/web/_private/PokemonGoAPI-PHP-master/examples/RetrievePlayerProfile.php(27): NicklasW\PkmGoApi in /volume1/web/_private/PokemonGoAPI-PHP-master/src/Handlers/RequestHandler.php on line 90
from pokemongoapi-php.
It would be helpful if you could send the log file to [email protected]
Thanks.
from pokemongoapi-php.
I'm still working on this, hopefully we will find a solution soon. A big thanks to @paoloalby for helping me out with the debugging.
from pokemongoapi-php.
Alright, the problem is probably due to PHP running as 32-bit. At this time the protocol buffer parser requires PHP running as 64-bit (or maybe PHP 7).
from pokemongoapi-php.
This issue is still being observed. Whenever I enter my gmail address and password in the examples, I get the Fatal Error below:
Fatal error: Uncaught NicklasW\PkmGoApi\Handlers\RequestHandler\Exceptions\AuthenticationException: Invalid authentication token provided in /homepages/26/d603489614/htdocs/pokemon/juan/PokemonGoAPI-PHP/src/Handlers/RequestHandler.php:113 Stack trace: #0 /homepages/26/d603489614/htdocs/pokemon/juan/PokemonGoAPI-PHP/src/Handlers/RequestHandler.php(124): NicklasW\PkmGoApi\Handlers\RequestHandler->handle(Object(NicklasW\PkmGoApi\Requests\GetInventoryRequest)) #1 /homepages/26/d603489614/htdocs/pokemon/juan/PokemonGoAPI-PHP/src/Services/Request/InventoryRequestService.php(20): NicklasW\PkmGoApi\Handlers\RequestHandler->handle(Object(NicklasW\PkmGoApi\Requests\GetInventoryRequest)) #2 /homepages/26/d603489614/htdocs/pokemon/juan/PokemonGoAPI-PHP/src/Api/Player/Inventory.php(129): NicklasW\PkmGoApi\Services\Request\InventoryRequestService->getInventory() #3 /homepages/26/d603489614/htdocs/pokemon/juan/PokemonGoAPI-PHP/src/Api/Player/Inventory.php(115): NicklasW\PkmGoApi\Api\Player\Inventory->update() #4 /homepages/26/d603489614 in /homepages/26/d603489614/htdocs/pokemon/juan/PokemonGoAPI-PHP/src/Handlers/RequestHandler.php on line 113
from pokemongoapi-php.
@jibarra-xx Did you disable the 64-bit check?
from pokemongoapi-php.
@NicklasWallgren yes, this was the reason why. Forgot to get back to you on this issue.
from pokemongoapi-php.
Related Issues (20)
- Exception about reading the full length HOT 1
- Call to a member function getOptions() on null HOT 5
- Fatal error: Call to a member function getType() on null HOT 15
- Update vendor/nicklasw/pkm-go-api/src/Api/Pokemon/Data/PokemonMetaRegistry.php HOT 6
- Where did getType1String() go? HOT 2
- More problems with move sets and pokemon types. HOT 9
- Pokémon Go 0.51.2 API using public hashing server HOT 2
- User Profile Details HOT 4
- When retrieving pokedex new baby eggs are missing HOT 2
- Authentification Exception (sometimes) HOT 3
- Hashing Server HOT 5
- language problem HOT 3
- Fatal error: Uncaught Exception: Retrieved a unknown status code 100 HOT 22
- Retrieved a invalid response. Response code: '403' HOT 2
- Slack and Status update? HOT 2
- Composer not run HOT 4
- Laravel begginer problem HOT 1
- Even after installing composer I'm getting the same error
- 403 Forbidden
- api credentials HOT 1
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from pokemongoapi-php.