0

我正在向Google執行API發送數據 - 我已經在腳本中獲取了在json中獲取參數的函數,並將它放入新的Google表格中。數據量小的它工作沒有問題,但我有大要導出的數據 - 例如JSON是有問題的出口送了580K線路時,格式如下:Google Excution API不接受long json

[ 
    { 
     "productionDate": "12/08/2016", 
     "legacyCode": null, 
     "quantity": 1, 
     "customer": "tst1", 
     "customerAddress": "add1", 
     "addressLegacyCode": "AD1" 
    }, 
    { 
     "productionDate": "12/08/2016", 
     "legacyCode": null, 
     "quantity": 1, 
     "customer": "cust2", 
     "customerAddress": "add1", 
     "addressLegacyCode": "AD2" 
    } 
] 

請問你們誰知道如果有一個要發送給Google的參數長度的具體限制。

我收到提示:

[16-08-12 09:45:01:364 CEST] Starting execution 
[16-08-12 09:45:01:373 CEST] Execution failed: Script function not found: [0 seconds total runtime] 
+1

配額和限制記錄在這裏:https://developers.google.com/apps-script/guides/services/quotas無論如何,不​​知道這是否是你的問題。您是否100%肯定JSON結構沒有任何錯誤,您的Google Execution API是否具有適當的錯誤處理? – some1

回答

0

所以,是該數據太長被列入參數發送給谷歌API。

我只是想指出,因爲錯誤消息不清楚什麼是失敗。