最新消息:雨落星辰是一个专注网站SEO优化、网站SEO诊断、搜索引擎研究、网络营销推广、网站策划运营及站长类的自媒体原创博客

Getting error validating google wallet pass object - Stack Overflow

programmeradmin1浏览0评论

THis is the error I am getting validating

This is my object body

{
  "is": "[email protected]",
  "aud": "google",
  "origins": [],
  "typ": "savetowallet",
  "payload": {
    "genericObjects": [
      {
        "id": "3388000000022867105.B5NAZK5HXD",
        "classId": "3388000000022867105.tikeeti_class",

        "hexBackgroundColor": "#4285f4",
        "logo": {
          "sourceUri": {
            "uri": ".png"
          }
        },
        "cardTitle": {
          "defaultValue": {
            "language": "en",
            "value": "Modern Events"
          }
        },
        "subheader": {
          "defaultValue": {
            "language": "en",
            "value": "Attendee"
          }
        },
        "header": {
          "defaultValue": {
            "language": "en",
            "value": "Joshua Oluikpe"
          }
        },
        "heroImage": {
          "sourceUri": {
            "uri": ".jpg"
          }
        },
        "textModulesData": [
          {
            "header": "POINTS",
            "body": "1234",
            "id": "points"
          },
          {
            "header": "CONTACTS",
            "body": "20",
            "id": "contacts"
          }
        ],
        "barcode": {
          "type": "QR_CODE",
          "value": "B5NAZK5HXD"
        }
      }
    ]
  },
  "iat": 1739191662
}

I have created the pass class already and passing the classId. I am trying to validate the object on google validate API JSON but still getting this error and it is not descriptive to debug.

发布评论

评论列表(0)

  1. 暂无评论