Page 1 of 1

Issue with AccountsVerifyKey (v7)

Posted: Tue Apr 05, 2022 8:00 pm
by setspike
Hi Kent,

Having an issue with AccountsVerifyKey. I've enabled the Player Account URL and I can see the Player and Key in the URL in a new browser window.

However when I run a simple curl command invoking AccountsVerifyKey with the Player and Key parameters from the URL, I am always getting back:

Result=Error
Error=Player not logged in

Any ideas?

- setspike

Re: Issue with AccountsVerifyKey (v7)

Posted: Tue Apr 05, 2022 8:10 pm
by Kent Briggs
Try outputting your parameters to a log file to make sure you really are sending the Player name. Also try doing it manually using the API Reference Utility v1.21

Re: Issue with AccountsVerifyKey (v7)

Posted: Tue Apr 05, 2022 9:05 pm
by setspike
I figured out my error. I had a variable called $pw in my script which of course was already used in the api.php file. 🤦🏻‍♂️

Sorry for the noise.

- setspike