eveseat / eseye

👾 A Standalone, Dynamic ESI (EVE Swagger Interface) Client Library written in PHP
GNU General Public License v2.0
50 stars 30 forks source link

Unsupported input #97

Open UNSC1419 opened 6 months ago

UNSC1419 commented 6 months ago

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"