You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
After I run GOOGLE_APPLICATION_CREDENTIALS=/Users/username/Downloads/pass-converter-main/file.json node app.js demo .
The console show this error.
Encoded jwt too large (2154) - stripping object from payload and creating via api
Error creating object GaxiosError: not a valid id
errors: [
{
message: 'not a valid id: xxx.xxx',
domain: 'walletobjects',
reason: 'invalidResource'
}
]
The text was updated successfully, but these errors were encountered:
There are two entirely unrelated items your issue refers to here. The first is the console message you copied, "Using this console may allow attackers..." - it's simply a warning the Google Wallet site shows to all users when visiting, and it's entirely unrelated to this project, so feel free to disregard it as far as getting the pass converter to work is concerned.
Secondly is your actual issue, which is that the ID being used to create the Google Wallet pass is invalid. I can't tell you why because it appears to be edited out of the error message (it's shown as "xxx.xxx"). The ID is derived from both the googleIssuerId setting (see the README for configuring this), and the passTypeIdentifier in the PKPass file's pass.json that you're trying to convert. If you think both of these are being derived correctly, you'll have to provide the actual values for them here in order for me to help debug the issue any further.
stephenmcd
changed the title
Using this console may allow attackers to impersonate you and steal your information using an attack called Self-XSS.Do not enter or paste code that you don't understand
Invalid object ID
Jan 9, 2023
After I run GOOGLE_APPLICATION_CREDENTIALS=/Users/username/Downloads/pass-converter-main/file.json node app.js demo .
The console show this error.
Encoded jwt too large (2154) - stripping object from payload and creating via api
Error creating object GaxiosError: not a valid id
errors: [
{
message: 'not a valid id: xxx.xxx',
domain: 'walletobjects',
reason: 'invalidResource'
}
]
The text was updated successfully, but these errors were encountered: