Loading

오류: 문제가 발생하여 파일이 업로드되지 않았습니다." 가 Tableau Server에 통합 문서를 업로드할 때 "발생

게시 일자: Dec 9, 2022
상세 설명

통합 문서를 Tableau Server에 업로드할 때 "Error: Something went wrong and the file wasn't uploaded."(오류: 문제가 발생하여 파일이 업로드되지 않았습니다.) 오류 표시됨

사용자가 추가한 이미지

Cause

교차 원본 리소스 공유를 사용하도록 설정한 경우 Tableau Server URL이 포함된 원본을 "vizportal.rest_api.cors.allow_origin"에 분명히 표시해야 합니다.
솔루션

옵션 1

  • Tableau Server에서 CORS를 사용하도록 설정하고 Tableau Server URL을 vizportal.rest_api.cors.allow_origin에서 구성합니다.
                tsm configuration set -k vizportal.rest_api.cors.enabled -v true
                tsm configuration set -k vizportal.rest_api.cors.allow_origin -v "https://<Tableau Server>"
                tsm pending-changes apply

옵션 2

  • Tableau Server에서 CORS를 사용하도록 설정하고 별표(*)를 와일드카드로 사용해 일치하는 사이트를 모두 찾아 원본을 승인합니다.
                tsm configuration set -k vizportal.rest_api.cors.enabled -v true
                tsm configuration set -k vizportal.rest_api.cors.allow_origin -v "*"
                tsm pending-changes apply

옵션 3
  • CORS 기능을 사용하지 않는 경우 끕니다.
                tsm configuration set -k vizportal.rest_api.cors.enabled -v false
                tsm pending-changes apply
 
Knowledge 기사 번호

001474707

 
로드 중
Salesforce Help | Article