inflearn logo
강의

강의

N
챌린지

챌린지

멘토링

멘토링

N
클립

클립

로드맵

로드맵

지식공유

따라하며 배우는 노드, 리액트 시리즈 - 챗봇 사이트 만들기

챗봇 어플리케이션 만들기#3 구조 설명 & textQuery Route 만들기

postman으로 raw 데이터를 전송하면 오류가 발생합니다.

515

박재용

작성한 질문수 1

0

오류내용 :

(node:992) UnhandledPromiseRejectionWarning: Error: 3 INVALID_ARGUMENT: Input text not set.       

    at Object.exports.createStatusError (/mnt/e/Projects/CB2/node_modules/grpc/src/common.js:91:15)

    at Object.onReceiveStatus (/mnt/e/Projects/CB2/node_modules/grpc/src/client_interceptors.js:1204:28)

    at InterceptingListener._callNext (/mnt/e/Projects/CB2/node_modules/grpc/src/client_interceptors.js:568:42)

    at InterceptingListener.onReceiveStatus (/mnt/e/Projects/CB2/node_modules/grpc/src/client_interceptors.js:618:8)

    at callback (/mnt/e/Projects/CB2/node_modules/grpc/src/client_interceptors.js:845:24)

(node:992) 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(). (rejection id: 1)

(node:992) [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.

//////////////////////////////////////////////////////////////

raw 데이터로 

{

    "text":"hello!"

}

라고 강의대로 넣었습니다. Credential 문제도 해결했구요

뭐가 문제일까요?

react nodejs

답변 4

0

pourgga

저도 같은 문제가 발생했었는데

POSTMAN에서 JSON 형식으로 보내야하는데 TEXT형식으로 보내서 그랬었네요 ㅎㅎ

0

Hoi

혹시어떻게 해결하셨을까요? ㅠㅠ

0

박재용

해결했습니다.

0

박재용

예제 코드를 그대로 사용했음에도, req.body.text가 undefined로 뜨는 현상이 일어나고 있습니다.

localhost:3000 ERR_CONNECTION_REFUSED

0

910

1

이벤트 쿼리문제입니다

0

122

1

npm install 이 안됩니다

0

1044

2

질문있어요

0

186

1

수정해보았는데 답장이 오지 않습니다.

0

273

1

postman 에 답이 오지 않습니다.(수정)

0

260

1

최신버전 부분

0

163

1

웹브라우저 실행이 안됩니다 .인스톨도 안되구요. 최신버전으로 해서 진행하고 자 하는데 어떻게 하면 될가요?

0

150

1

포스트맨에서 send를 하였을 때 오류가 납니다.

0

162

1

한국어 챗봇 만들기

0

312

1

Error: 16 UNAUTHENTICATED: Failed to retrieve auth metadata with error: invalid_grant: Invalid JWT Signature. 에러 발생

0

215

1

npm start 하고 throw e 이부분에서 에러가 뜨네요

0

299

1

dialogflow 줄바꿈

0

408

1

npm start 에러

0

529

1

npm run start 오류

0

792

2

Dialogflow ES에서 서비스 어카운트에 dialogflow client api설정 하는 법 질문

0

447

1

파이어베이스랑 연동은 어떻게 하나요?

0

538

1

npm install오류

0

627

1

invalid_grant: Invalid JWT Signature.

0

468

0

질문있어요!

0

304

0

에러

0

312

0

https://dialogflow.com/

0

337

1

Error: 7 PERMISSION_DENIED: IAM permission 오류

0

530

1

npm run start 시 cannot find module 에러

1

487

1