인프런 커뮤니티 질문&답변
String cannot represent value 에러 여쭤봅니다!
해결된 질문
작성
·
791
답변 2
0
"This operation has been blocked as a potential Cross-Site Request Forgery (CSRF). Please either specify a 'content-type' header (with a type that is not one of application/x-www-form-urlencoded, multipart/form-data, text/plain) or provide a non-empty value for one of the following headers: x-apollo-operation-name, apollo-require-preflight\n" 라는 내용의 에러가 발생합니다..0
노원두
지식공유자
안녕하세요! 건태님!
graphql 타입이 올바르지 않는 것 같네요!
위 에러 메시지를 확인해 보니, String은 ["이미지주소1", "이미지주소2"]에 표현될 수 없다는 것 같아요!
따라서, 리턴 타입을 String => [String] 형태로 변경이 되어야 할 것 같네요!







 강사님 파일 업로드 시에 파일은 정상적으로 다 업로드가 되는데 에러메시지가 계속 표시되서 여쭤봅니다!!
강사님 파일 업로드 시에 파일은 정상적으로 다 업로드가 되는데 에러메시지가 계속 표시되서 여쭤봅니다!!
항상 감사하게 강의 듣고있습니다!