I have been trying to generate a pass class using the codelabs example here: https://codelabs.developers.google.com/add-to-wallet-web and keep getting a 400 error
{ "error": { "code": 400, "message": "Request contains an invalid argument.", "errors": [ { "message": "Request contains an invalid argument.", "domain": "global", "reason": "badRequest" } ], "status": "INVALID_ARGUMENT" } }
Is there any way to figure out what is wrong with the request? i.e. which part of the request is invalid. The body of the class follows the spec at:
https://developers.google.com/wallet/reference/rest/v1/genericclass
This is impossible to debug. Is there an example that actually works?
I tried using the code in the codelabs and I was expecting it to work.