Skip to content
New issue

Have a question about this project? # for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “#”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? # to your account

Unsupported input #97

Open
UNSC1419 opened this issue May 6, 2024 · 0 comments
Open

Unsupported input #97

UNSC1419 opened this issue May 6, 2024 · 0 comments

Comments

@UNSC1419
Copy link

UNSC1419 commented May 6, 2024

I provided the correct refresh_token
but the response was
{
"message": "Unsupported input",
"status_code": 500,
"debug": {
"line": 73,
"file": "E:\data\php\PhpProject\eve-skynet\vendor\web-token\jwt-signature\Serializer\CompactSerializer.php",
"class": "InvalidArgumentException",

my code

$configuration = Configuration::getInstance();
$configuration->cache = FileCache::class;

    $Character_token = Character_token::find(2114944316);

    $authentication = new \Seat\Eseye\Containers\EsiAuthentication([
        'client_id'     => config('esi.eseye_client_id'),
        'secret'        => config('esi.eseye_client_secret'),
        'refresh_token' => $Character_token->refresh_token,
    ]);

    $esi = new \Seat\Eseye\Eseye($authentication);

    $character_location = $esi->invoke('get', '/characters/{character_id}/location', [
        'character_id' => 2114944316,
    ]);
    dd($character_location);

How to make it work properly?
eveseat/eseye version: "2.4.1"

# for free to join this conversation on GitHub. Already have an account? # to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant