Kami akan menghentikan Google Business Messages pada 31 Juli 2024. Baca selengkapnya
di sini.
Memecahkan masalah agen
Tetap teratur dengan koleksi
Simpan dan kategorikan konten berdasarkan preferensi Anda.
Business Messages menyediakan berbagai cara untuk menguji dan memecahkan masalah agen Anda. Daftar berikut menjelaskan berbagai alat yang dapat Anda gunakan untuk menguji apakah
agen Anda berfungsi dengan benar, memecahkan masalah perilaku yang tidak terduga, dan men-debug
masalah:
- URL pengujian agen:
Anda dapat menggunakan URL pengujian agen di Business Communications Developer Console
untuk berinteraksi dengan agen di perangkat seluler. URL ini tersedia sebelum Anda memverifikasi atau meluncurkan agen, sehingga Anda dapat menggunakannya untuk mengonfirmasi bahwa infrastruktur pesan Anda berfungsi seperti yang diharapkan.
- URL pengujian khusus lokasi:
Jika agen memiliki beberapa lokasi, gunakan URL pengujian khusus lokasi untuk
mengakses percakapan demo dengan agen Anda di lokasi tertentu.
- Halaman referensi UserMessage:
Saat men-debug agen, pastikan Anda mengurai pesan dari
pengguna dengan benar. Halaman referensi
UserMessage
menjelaskan semua kolom yang dapat dibaca webhook Anda. Anda dapat menggunakan informasi ini untuk memeriksa kembali penerapan Anda.
- Halaman log Konsol Developer Business Messages: Untuk men-debug masalah pengiriman pesan, gunakan halaman log Konsol Developer Business Messages. Log ini mencantumkan setiap pesan masuk dan keluar. Pesan tersebut juga menunjukkan setiap status pesan, sehingga Anda dapat melihat pesan mana yang gagal dikirim dengan benar.
Kecuali dinyatakan lain, konten di halaman ini dilisensikan berdasarkan Lisensi Creative Commons Attribution 4.0, sedangkan contoh kode dilisensikan berdasarkan Lisensi Apache 2.0. Untuk mengetahui informasi selengkapnya, lihat Kebijakan Situs Google Developers. Java adalah merek dagang terdaftar dari Oracle dan/atau afiliasinya.
Terakhir diperbarui pada 2023-01-03 UTC.
[null,null,["Terakhir diperbarui pada 2023-01-03 UTC."],[[["\u003cp\u003eTest your Business Messages agent using the agent test URL or location-specific test URLs for agents with multiple locations before and after launch.\u003c/p\u003e\n"],["\u003cp\u003eDebug your agent by referencing the \u003ccode\u003eUserMessage\u003c/code\u003e guide to ensure accurate parsing of user messages and confirm your implementation.\u003c/p\u003e\n"],["\u003cp\u003eTroubleshoot message delivery issues using the Business Messages Developer Console logs page to review inbound/outbound message statuses and identify failures.\u003c/p\u003e\n"]]],[],null,["# Troubleshoot your agent\n\nBusiness Messages provides a variety of ways to test and troubleshoot your\nagent. The following list describes different tools you can use to test that\nyour agent is working properly, troubleshoot unexpected behavior, and debug\nissues:\n\n- [Agent test URL](/business-communications/business-messages/guides/how-to/agents#test-agent): You can use the agent test URL in the Business Communications Developer Console to interact with your agent on your mobile device. This URL is available before you verify or launch your agent, so you can use it to confirm your messaging infrastructure is working as expected.\n- [Location-specific test URLs](/business-communications/business-messages/guides/how-to/locations#test-location): If your agent has multiple locations, use location-specific test URLs to access a demo conversation with your agent at a specific location.\n- [UserMessage reference page](/business-communications/business-messages/reference/rest/v1/UserMessage): When debugging your agent, you may want to ensure you're parsing messages from the user correctly. The `UserMessage` reference page describes all the fields your webhook can read. You can use this information to double-check your implementation.\n- [Business Messages Developer Console logs page](/business-communications/business-messages/guides/concepts/developer-console#logs): To debug message delivery issues, use the Business Messages Developer Console logs page. These logs list every inbound and outbound message. They also show you each message status, so you can see which messages failed to deliver properly."]]