Open benson52541110 opened 1 year ago
Hi there,
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.
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' } ]