Closed Grasume closed 3 years ago
Issue GuzzleHttp\Exception\ServerException Server error:POST https://login.eveonline.com/v2/oauth/tokenresulted in a500 Internal Server Errorresponse: {"Message":"An error has occurred."}
GuzzleHttp\Exception\ServerException Server error:
resulted in a
response: {"Message":"An error has occurred."}
Code $response = $this->getHttpClient()->post($this->getTokenUrl(), [ 'headers' => [ 'Authorization' => 'Basic '.base64_encode(config('services.eveonline-prod.client_id').':'.config('services.eveonline-prod.client_secret')), 'Content-Type' => 'application/x-www-form-urlencoded', 'Host' => 'login.eveonline.com', ], "form_params" => [ 'grant_type' => 'authorization_code', 'code' => $code, ], ]);
return json_decode($response->getBody(), true);
Expected response 200 or other error message .
Received response 500 Internal Server Error
bug
Issue
GuzzleHttp\Exception\ServerException Server error:
POST https://login.eveonline.com/v2/oauth/tokenresulted in a
500 Internal Server Errorresponse: {"Message":"An error has occurred."}
Code $response = $this->getHttpClient()->post($this->getTokenUrl(), [ 'headers' => [ 'Authorization' => 'Basic '.base64_encode(config('services.eveonline-prod.client_id').':'.config('services.eveonline-prod.client_secret')), 'Content-Type' => 'application/x-www-form-urlencoded', 'Host' => 'login.eveonline.com', ], "form_params" => [ 'grant_type' => 'authorization_code', 'code' => $code, ], ]);
Expected response 200 or other error message .
Received response 500 Internal Server Error