양식 작성자가 응답할 수 있는 사용자를 더 세부적으로 관리할 수 있도록 응답자에 대한 세부적인 관리 기능이 도입됩니다. 2026년 1월 31일 이후에 API로 만든 양식은 기본적으로 게시되지 않은 상태입니다. 자세한 내용은 Google Forms API 변경사항을 참고하세요.
이 페이지에서는 인증 및 승인과 관련하여 발생할 수 있는 몇 가지 일반적인 문제를 설명합니다.
This app isn't verified
OAuth 동의 화면에 '이 앱은 확인되지 않았습니다'라는 경고가 표시되면 앱에서 민감한 사용자 데이터에 대한 액세스를 제공하는 범위를 요청하고 있는 것입니다. 애플리케이션에서 민감한 범위를 사용하는 경우 앱이 인증 절차를 거쳐야 경고 및 기타 제한사항이 삭제됩니다. 개발 단계에서는 고급 > {Project Name}(안전하지 않음)으로 이동을 선택하여 이 경고를 무시하고 계속 진행할 수 있습니다.
File not found error for credentials.json
코드 샘플을 실행할 때 credentials.json과 관련하여 '파일을 찾을 수 없음' 또는 '파일이 없음' 오류 메시지가 표시될 수 있습니다.
이 오류는 데스크톱 애플리케이션 사용자 인증 정보를 승인하지 않은 경우에 발생합니다. 데스크톱 애플리케이션의 사용자 인증 정보를 만드는 방법을 알아보려면 사용자 인증 정보 만들기를 참고하세요.
사용자 인증 정보를 만든 후 다운로드한 JSON 파일이 credentials.json로 저장되었는지 확인합니다. 그런 다음 파일을 작업 디렉터리로 이동합니다.
Token has been expired or revoked
코드 샘플을 실행하면 '토큰이 만료되었습니다' 또는 '토큰이 취소되었습니다' 오류 메시지가 표시될 수 있습니다.
이 오류는 Google 승인 서버의 액세스 토큰이 만료되었거나 취소되었을 때 발생합니다. 가능한 원인 및 해결 방법에 대한 자세한 내용은 갱신 토큰 만료를 참고하세요.
JavaScript 오류
다음은 몇 가지 일반적인 JavaScript 오류입니다.
Error: origin_mismatch
웹페이지를 제공하는 데 사용된 호스트 및 포트가 Google Cloud 콘솔 프로젝트에서 허용된 JavaScript 출처와 일치하지 않으면 승인 흐름 중에 이 오류가 발생합니다. 승인된 JavaScript 출처를 설정했는지, 브라우저의 URL이 출처 URL과 일치하는지 확인합니다.
idpiframe_initialization_failed: Failed to read the 'localStorage' property from 'Window'
이 오류는 브라우저에서 서드 파티 쿠키 및 데이터 저장소가 사용 설정되지 않은 경우 발생합니다. 이 옵션은 Google 로그인 라이브러리에 필요합니다. 자세한 내용은 서드 파티 쿠키 및 데이터 저장소를 참고하세요.
idpiframe_initialization_failed: Not a valid origin for the client
등록된 도메인이 웹페이지 호스팅에 사용되는 도메인과 일치하지 않을 때 이 오류가 발생합니다. 등록한 출처가 브라우저의 URL과 일치하는지 확인합니다.
[[["이해하기 쉬움","easyToUnderstand","thumb-up"],["문제가 해결됨","solvedMyProblem","thumb-up"],["기타","otherUp","thumb-up"]],[["필요한 정보가 없음","missingTheInformationINeed","thumb-down"],["너무 복잡함/단계 수가 너무 많음","tooComplicatedTooManySteps","thumb-down"],["오래됨","outOfDate","thumb-down"],["번역 문제","translationIssue","thumb-down"],["샘플/코드 문제","samplesCodeIssue","thumb-down"],["기타","otherDown","thumb-down"]],["최종 업데이트: 2025-02-11(UTC)"],[],["The content addresses common authentication and authorization issues. It details resolving the \"This app isn't verified\" warning by undergoing a verification process or bypassing it temporarily. It also explains the \"file not found\" error for `credentials.json`, advising users to create desktop application credentials, save the file correctly, and move it to the working directory. The \"Token has been expired or revoked\" error is covered, with a link provided for resolution. It also addresses Javascript errors including origin mismatches and issues with localStorage, recommending setting correct origins and enabling third-party cookies.\n"],null,["# Troubleshoot authentication & authorization issues\n\nThis page describes some common issues that you might encounter involving\nauthentication and authorization.\n\n`This app isn't verified`\n-------------------------\n\nIf the OAuth consent screen displays the warning \"This app isn't verified,\" your\napp is requesting scopes that provide access to sensitive user data. If your\napplication uses sensitive scopes, your app must go through the\n[verification process](https://support.google.com/cloud/answer/7454865)\nto remove that warning and other limitations. During the development phase, you\ncan continue past this warning by selecting **Advanced \\\u003e Go to {Project Name}\n(unsafe)**.\n\n`File not found error for credentials.json`\n-------------------------------------------\n\nWhen running the code sample, you might receive a \"file not found\" or \"no such\nfile\" error message regarding credentials.json.\n\nThis error occurs when you have not authorized the desktop application\ncredentials. To learn how to create credentials\nfor a desktop application, go to\n[Create credentials](/workspace/guides/create-credentials#desktop-app).\n\nAfter you create the credentials, make sure the downloaded JSON file is saved as\n`credentials.json`. Then move the file to your working directory.\n\n`Token has been expired or revoked`\n-----------------------------------\n\nWhen running the code sample, you might receive a \"Token has been expired\" or\n\"Token has been revoked\" error message.\n\nThis error occurs when an access token from the Google Authorization Server has\neither expired or has been revoked. For information about potential causes\nand fixes, see\n[Refresh token expiration](/identity/protocols/oauth2#expiration).\n\nJavaScript errors\n-----------------\n\nThe following are some common JavaScript errors.\n\n### `Error: origin_mismatch`\n\nThis error occurs during the authorization flow if the host and port used\nto serve the web page doesn't match an allowed JavaScript origin on your\nGoogle Cloud console project. Make sure you set an authorized\nJavaScript origin and that the URL in your browser matches the origin URL.\n\n### `idpiframe_initialization_failed: Failed to read the 'localStorage' property from 'Window'`\n\nThis error occurs when third-party cookies and data storage aren't enabled\nin your browser. These options are required by the Google Sign-in library. For\nmore information, see\n[3rd-party cookies and data storage](https://developers.google.com/identity/sign-in/web/troubleshooting#third-party_cookies_and_data_blocked).\n| **Note:** In your own app, you should prompt users to enable third-party cookies and data storage or add an exception for `accounts.google.com`.\n\n### `idpiframe_initialization_failed: Not a valid origin for the client`\n\nThis error occurs when the domain registered doesn't match the domain being\nused to host the web page. Ensure that the origin you registered matches the URL\nin the browser."]]