• 카테고리

    질문 & 답변
  • 세부 분야

    풀스택

  • 해결 여부

    미해결

Error: 7 PERMISSION_DENIED: IAM permission 오류

21.08.08 00:52 작성 조회수 371

0

(node:25864) UnhandledPromiseRejectionWarning: Error: 7 PERMISSION_DENIED: IAM permission 'dialogflow.sessions.detectIntent' on 'projects/test-chat-bot-app-321515/agent' denied.

    at Object.callErrorFromStatus (C:\Users\wjdwl\node_modules\@grpc\grpc-js\build\src\call.js:31:26)

    at Object.onReceiveStatus (C:\Users\wjdwl\node_modules\@grpc\grpc-js\build\src\client.js:179:52)

    at Object.onReceiveStatus (C:\Users\wjdwl\node_modules\@grpc\grpc-js\build\src\client-interceptors.js:336:141)

    at Object.onReceiveStatus (C:\Users\wjdwl\node_modules\@grpc\grpc-js\build\src\client-interceptors.js:299:181)

    at C:\Users\wjdwl\node_modules\@grpc\grpc-js\build\src\call-stream.js:145:78

    at processTicksAndRejections (internal/process/task_queues.js:75:11)

(Use `node --trace-warnings ...` to show where the warning was created)

(node:25864) UnhandledPromiseRejectionWarning: Unhandled promise rejection. This error originated either by throwing inside of 

an async function without a catch block, or by rejecting a promise which was not handled with .catch(). To terminate the node process on unhandled promise rejection, use the CLI flag `--unhandled-rejections=strict` (see https://nodejs.org/api/cli.html#cli_unhandled_rejections_mode). (rejection id: 1)

(node:25864) [DEP0018] DeprecationWarning: Unhandled promise rejections are deprecated. In the future, promise rejections that 

이렇게 떴는데 구글링을 해도 해결이 안돼서 질문글 올립니다. 어떻게 해결하면 좋을까요?

are not handled will terminate the Node.js process with a non-zero exit code.

답변 1

답변을 작성해보세요.

0

안녕하세요 

에러로그에서 주요한 부분은 

맨 윗부분인것 같습니다    권한 에러가 같은데 혹시 api키부분을 체크해봐주세요 ~