-
Notifications
You must be signed in to change notification settings - Fork 0
Troubleshooting
The client received an empty key or the placeholder YOUR-API-KEY.
- verify
STEAM_API_KEY; - refresh Laravel's configuration cache;
- confirm the key is passed to manually constructed clients;
- never print the key while debugging.
php artisan config:clear
php artisan config:cachePossible causes:
- invalid or revoked key;
- publisher endpoint called with a normal key;
- key is not associated with the requested app;
- profile or resource permissions prevent access.
Do not solve permission failures by exposing a publisher key to the client.
The profile may be private, Steam may omit fields, or the key may lack app access. See Profile privacy.
The supplied Steam ID cannot be normalized. Use a supported Steam64, Steam2 or Steam3 value. Vanity names must be resolved first. See Steam ID guide.
Inspect the exception code and previous throwable:
catch (ApiCallFailedException $exception) {
logger()->warning('Steam request failed', [
'status' => $exception->getCode(),
'error' => $exception->getMessage(),
]);
}Ensure logs do not contain full request URLs with API keys.
Use the current namespace:
use TeemoCell\SteamWebApi\Client;Then regenerate Composer autoloading and clear Laravel caches:
composer dump-autoload
php artisan optimize:clearConfirm the installed package version and compare it with the documentation's latest release. Development-branch documentation may describe unreleased changes.
Documentation for teemocell/steam-web-api · Licensed under the MIT License