我尝试使用tabcmd.exe实用程序发布一个tableau工作表,但收到错误。
*** 411 "Length Required"
tabcmd日志文件包含以下条目。
[11888] DEBUG Nov-05 05:11:42,437: ====>> Starting Tabcmd 8.0 at Tue Nov 05 05:11:42 UTC 2013 <<====
[11888] DEBUG Nov-05 05:11:42,437: Build 8000.13.1001.1930
[11888] DEBUG Nov-05 05:11:45,195: run as: tabcmd publish "tabcmd_publish.twbx" -n "tabcmd_publish" -r "Default" --db-user "username" --db-password "password" -o --no-certcheck
[11888] INFO Nov-05 05:11:45,210: Continuing previous session
[11888] INFO Nov-05 05:11:45,242: Server: https://someurl.tableauserver.com
[11888] INFO Nov-05 05:11:45,242: Username: <username>
[11888] INFO Nov-05 05:11:45,260: Connecting to server...
[11888] DEBUG Nov-05 05:11:49,690: Authenticity token: v2x4ltoI1rlcNYP875pO6ciYhWH8P3Vs7W15PMdWrWo=
[11888] DEBUG Nov-05 05:11:49,113: upload options: {}
[11888] DEBUG Nov-05 05:11:50,661: /manual/file_uploads/create.xml
[11888] DEBUG Nov-05 05:11:50,680: <!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01//EN""http://www.w3.org/TR/html4/strict.dtd">
<HTML><HEAD><TITLE>Length Required</TITLE>
<META HTTP-EQUIV="Content-Type" Content="text/html; charset=us-ascii"></HEAD>
<BODY><h2>Length Required</h2>
<hr><p>HTTP Error 411. The request must be chunked or have a content length.</p>
</BODY></HTML>
[11888] FATAL Nov-05 05:11:50,682: 411 "Length Required"
我认为此问题的原因是发送到服务器的数据流应包含Content-Length值。但我不知道如何设置呢?
对此有任何帮助表示高度赞赏