강의

멘토링

로드맵

Inflearn Community Q&A

chlwltn63301329's profile image
chlwltn63301329

asked

Node and React series that you can learn by following - Creating a chatbot site

Making a Chatbot Application #3 Structure Explanation & Creating textQuery Route

Postman 오류

Written on

·

196

3

Postman에서 Send하면 한참 후에 Could not get response 라고 나오고

VS Code 콘솔에는

(node:81032) UnhandledPromiseRejectionWarning: Error: 14 UNAVAILABLE: failed to connect to all addresses

라고 나오네요.. 무슨 문제일까요?ㅜㅜ

reactnodejs

Quiz

What are the important environment variables that you need to set in your application to use the Dialogflow API?

API_KEY

DIALOGFLOW_PROJECT_ID

GOOGLE_APPLICATION_CREDENTIALS

CHATBOT_ENDPOINT

Answer 1

4

저는 윈도우를 사용하고 있습니다

1. set GOOGLE_APPLICATION_CREDENTIALS=/c:\Users\wlsdn\Desktop\리엑트\chatbotkey\파일명.json

파일을 터미널에 옮긴 후 확인없이 바로 실행했었는데 같은 에러가 났습니다

2. set GOOGLE_APPLICATION_CREDENTIALS=\Users\wlsdn\Desktop\리엑트\chatbotkey\(파일명).json

윈도우는 경로표시를 /가 아닌 \ 입니다

/c:부분을 지우고 실행하니 정상적으로 실행되었습니다

chlwltn63301329's profile image
chlwltn63301329

asked

Ask a question