Güncellenecek bir nesnenizin olduğundan ve bu nesnenin en güncel durumda olduğundan emin olmak için PATCH veya PUT isteğinde bulunmadan önce Nesne Kimliğinde bir GET işlemi gerçekleştirin.
404 - IssuerClassNotFoundException
Cüzdan Nesne Sınıfı {1234567891234567899.ABCD.1234567} bulunamadı.
Güncelleme gerçekleştirirken PATCH veya PUT isteğinden önce GET isteği yaptığınızdan emin olun. Böylece , en son sınıf olduğunu belirten bir sınıfınız olur. Ayrıca istekte doğru yükün (nesne ve sınıf) doğru şekilde kullanıldığından emin olun.
409 - ZatenExistsException
Cüzdan Nesne Sınıfı {1234567891234567899.ABCD.1234567} zaten mevcut.
Aynı Sınıf Kimliği'ni oluşturmaya çalışmadan önce Sınıf Kimliği üzerinde bir GET işlemi gerçekleştirin. Kaynak mevcutsa PATCH veya PUT. işlevini kullanmak isteyebilirsiniz.
Web tabanlı hata iletileri
"Google Cüzdan'a ekle" bağlantısını kullanarak kart kaydetmeye çalışırken bir sorunla karşılaşırsanız hata ayıklamanıza yardımcı olacak bilgilendirici bir hata mesajı görürsünüz. Bu mesajlar yalnızca ilişkilendirilmiş Düzenleyen hesabı için "Geliştirici" veya "Yönetici" rolüne sahip kullanıcılara gösterilir.
Görüntülenebilecek hata mesajı türüne ilişkin bir örneği aşağıda bulabilirsiniz:
[[["Anlaması kolay","easyToUnderstand","thumb-up"],["Sorunumu çözdü","solvedMyProblem","thumb-up"],["Diğer","otherUp","thumb-up"]],[["İhtiyacım olan bilgiler yok","missingTheInformationINeed","thumb-down"],["Çok karmaşık / çok fazla adım var","tooComplicatedTooManySteps","thumb-down"],["Güncel değil","outOfDate","thumb-down"],["Çeviri sorunu","translationIssue","thumb-down"],["Örnek veya kod sorunu","samplesCodeIssue","thumb-down"],["Diğer","otherDown","thumb-down"]],["Son güncelleme tarihi: 2024-09-06 UTC."],[[["This page explains the different error codes that may be returned by the Google Wallet API, including BadRequestException, PermissionDeniedException, NotFoundException, IssuerClassNotFoundException, and AlreadyExistsException."],["Each error code has an explanation for the possible causes and suggestions for troubleshooting and resolution."],["It highlights the importance of data structure validation, proper authorization, and resource verification to avoid these errors."],["Developers and administrators with the associated Issuer account can see informative web-based error messages when saving passes using the 'Add to Google Wallet' link."],["These error messages aid in debugging issues encountered during the process of adding passes to Google Wallet."]]],["The Google Wallet API returns specific error codes: 400 (BadRequestException) indicates an invalid argument, requiring checks on data structure. 403 (PermissionDeniedException) means the service account lacks authorization. 404 (NotFoundException) signals a missing Wallet Object or Class, needing a GET request before PATCH/PUT actions. 409 (AlreadyExistsException) indicates an existing class, suggesting a GET request and potential PATCH/PUT instead of creating it again. Web errors are displayed to developers and admins.\n"]]