Skip to content
New issue

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

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

Already on GitHub? Sign in to your account

Wallet API error #2557

Open
pws2016 opened this issue Jan 31, 2024 · 0 comments
Open

Wallet API error #2557

pws2016 opened this issue Jan 31, 2024 · 0 comments

Comments

@pws2016
Copy link

pws2016 commented Jan 31, 2024

Hello,
i try using the API Wallet and i creqte the API key in console with domain restriction.
But the code return me an error:
[{"message":"Login Required.","domain":"global","reason":"required","location":"Authorization","locationType":"header"}]

I use the PHP library and i write this code:
$client = new Google\Client(); $client->setApplicationName('Wallet Objects App'); $client->setDeveloperKey(GOOGLE_WALLET_API_KEY);

How i can fix this?

Thanks

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

No branches or pull requests

1 participant