문제 해결 개요
컬렉션을 사용해 정리하기
내 환경설정을 기준으로 콘텐츠를 저장하고 분류하세요.
이 페이지에서는 Chat 앱, 카드, 대화상자 오류를 확인하고 디버그하고 수정하는 방법을 설명합니다.
오류 표시 방식
Google Chat 앱이 오류를 반환하면 다음과 같이 표시됩니다.
- '앱이 응답하지 않습니다.'와 같은 메시지 '문제가 발생했습니다.' 또는 '요청을 처리할 수 없습니다'가 표시됩니다.
- 앱이 의도한 대로 작동하지 않습니다.
- 메시지가 표시되지 않고 앱이 응답하지 않습니다.
카드에서 오류가 반환되면 다음과 같이 표시됩니다.
- 카드 일부(예: 위젯 또는 구성요소)가 표시되지 않거나 예상치 못한 방식으로 렌더링됩니다.
- 전체 카드가 표시되지 않습니다.
- 대화상자가 닫히거나, 열리지 않거나, 로드되지 않습니다.
채팅 UI에 오류 메시지가 표시되지 않을 수 있지만, 채팅 앱의 오류 로깅이 사용 설정되어 있으면 오류를 수정하는 데 도움이 되는 설명이 포함된 오류 메시지와 로그 데이터를 확인할 수 있습니다.
Google Chat 오류 디버그 및 문제 해결
- 오류가 발생할 때 Google Chat 앱이 오류를 로깅하도록 오류 로깅을 사용 설정합니다.
- Google Chat 오류 로그 쿼리를 사용하여 오류 로그를 읽고, 오류가 발생하는 빈도를 확인하고, 오류를 수정하는 데 도움이 되는 설명이 포함된 오류 메시지와 로그 데이터를 읽습니다.
- 일반적인 오류를 해결하는 방법을 알아보세요.
- '앱이 응답하지 않음', 'Google Chat API는 Google Workspace 사용자에게만 제공됩니다', '사용자를 스페이스에서 제외할 수 있음'과 같은 Google Chat 앱 오류를 수정합니다.
- 카드 메시지, 대화상자, 링크 미리보기가 예상대로 렌더링되거나 작동하지 않는 등의 카드 및 대화상자 오류를 수정합니다.
- Chat 앱을 디버그하여 단계별로 실행합니다.
달리 명시되지 않는 한 이 페이지의 콘텐츠에는 Creative Commons Attribution 4.0 라이선스에 따라 라이선스가 부여되며, 코드 샘플에는 Apache 2.0 라이선스에 따라 라이선스가 부여됩니다. 자세한 내용은 Google Developers 사이트 정책을 참조하세요. 자바는 Oracle 및/또는 Oracle 계열사의 등록 상표입니다.
최종 업데이트: 2025-08-04(UTC)
[null,null,["최종 업데이트: 2025-08-04(UTC)"],[[["\u003cp\u003eThis page provides guidance on viewing, debugging, and resolving errors in Google Chat apps, cards, and dialogs.\u003c/p\u003e\n"],["\u003cp\u003eGoogle Chat errors can manifest as error messages, unexpected app behavior, or lack of response, while card errors might result in partial or complete rendering failures.\u003c/p\u003e\n"],["\u003cp\u003eDevelopers can leverage error logging, log querying, and troubleshooting resources to identify and fix errors in their Chat apps, cards, and dialogs.\u003c/p\u003e\n"],["\u003cp\u003eSpecific guides are available to address common Chat app errors, card and dialog issues, and enable step-by-step debugging for comprehensive troubleshooting.\u003c/p\u003e\n"]]],["This content details how to manage errors in Google Chat apps, cards, and dialogs. Errors manifest as unresponsive apps, missing or malfunctioning card elements, or closed/failed dialogs. To address this, enable error logging. Query error logs to identify the frequency and nature of errors. Resources are available to fix common app, card, and dialog issues, and a debug feature allows for step-by-step execution analysis.\n"],null,["This page helps you view, debug, and fix Chat apps, card, and dialog errors.\n\nHow errors appear\n\nWhen a Google Chat app returns an error, it manifests like this:\n\n- A message like \"App is not responding.\", \"Something went wrong.\", or \"Unable to process your request\" displays.\n- The app doesn't work as intended.\n- No message displays, and the app doesn't respond.\n\nWhen a [card](/workspace/chat/create-messages#create) returns an error, it manifests like this:\n\n- Part of a card, like a widget or component, doesn't appear or renders in an unexpected way.\n- The entire card doesn't appear.\n- A dialog closes, doesn't open, or doesn't load.\n\nAlthough an error message might not display in the Chat UI, descriptive error messages and log data are available to help you fix errors when error logging for Chat apps is turned on.\n\nDebug and troubleshoot Google Chat errors\n\n1. [Turn on error logging](/workspace/chat/turn-on-error-logging) so your Google Chat app logs errors if and when they occur.\n2. [Query error logs for Google Chat](/workspace/chat/query-logs) to read error logs, see how often errors occur, and read descriptive error messages and log data that help you fix the errors.\n3. Learn how to fix common errors:\n - [Fix Google Chat app errors](/workspace/chat/troubleshoot-chat-apps) like \"App is not responding\", \"Google Chat API is only available to Google Workspace users\", or \"Users can be excluded from spaces\".\n - [Fix card and dialog errors](/workspace/chat/troubleshoot-cards) like card messages, dialogs, or link previews not rendering or working as expected.\n4. [Debug your Chat app](/workspace/chat/debug-apps) to execute it step by step."]]