hi, I'm, trying to download a visualization using ...
# gooddata-cloud
s
hi, I'm, trying to download a visualization using
api/v1/actions/workspaces/{workspace}/export/tabular/7
and I keep getting the following error that I can't debug. could someone please help us out?
Copy code
{
  "detail": "Server-side problem. Contact support.",
  "status": 500,
  "title": "Internal Server Error",
  "traceId": "79f9839303ecd3183afe5468a5dc8dbf"
}
j
Hi Sasha, May I ask how you’re constructing the resultSpec to obtain the executionResult? Are you creating the resultSpec manually? If so, I would suggest trying to retrieve the JSON definition from the UI by opening the browser’s developer console while exporting an existing visualization. Then, compare the JSON body with what you’re constructing. If you use the one retrieved from the UI, does the API still fail for you?
m
Hi Sasha, I am wondering if you have the chance to review the update of my colleague. Please let us know if you still need our assistance.
s
hi @Julius Kos @Mauricio Cabezas I am once again getting this error when I try to download a report 6cf48ebe271126dd3b254152a0308d1d7885172b <- here's the initiation/export id now it's giving me an error 400 when I try to download it as a pdf: AxiosError: Request failed with status code 400 at settle (file///var/task/node modules/axios/lib/core/settle.js19:12) at IncomingMessage.handleStreamEnd (file///var/task/node modules/axios/lib/adapters/http.js599:11) at IncomingMessage.emit (nodeevents529:35) at endReadableNT (nodeinternal/streams/readable1400:12) at process.processTicksAndRejections (nodeinternal/process/task queues82:21) at Axios.request (file///var/task/node modules/axios/lib/core/Axios.js45:41) at process.processTicksAndRejections (nodeinternal/process/task queues95:5) at async l.downloadWithExportId (/var/task/apps/web/.next/server/chunks/1151.js15748143) at async /var/task/apps/web/.next/server/pages/api/inngest.js111557 at async V1InngestExecution.tryExecuteStep (/var/task/node_modules/inngest/components/execution/v1.js19220) at async steps-found (/var/task/node_modules/inngest/components/execution/v1.js14036) at async V1InngestExecution._start (/var/task/node_modules/inngest/components/execution/v1.js8336) at async InngestCommHandler.handleAction (/var/task/node_modules/inngest/components/InngestCommHandler.js49236) at async ServerTiming.wrap (/var/task/node_modules/inngest/helpers/ServerTiming.js6421) at async ServerTiming.wrap (/var/task/node_modules/inngest/helpers/ServerTiming.js6421) at async K (/var/task/node_modules/next/dist/compiled/next-server/pages-api.runtime.prod.js2016881) at async U.render (/var/task/node_modules/next/dist/compiled/next-server/pages-api.runtime.prod.js2017520) at async r9.runApi (/var/task/node_modules/next/dist/compiled/next-server/server.runtime.prod.js1744515) at async r9.handleCatchallRenderRequest (/var/task/node_modules/next/dist/compiled/next-server/server.runtime.prod.js1738432) at async r9.runImpl (/var/task/node_modules/next/dist/compiled/next-server/server.runtime.prod.js1617376) at async r9.handleRequestImpl (/var/task/node_modules/next/dist/compiled/next-server/server.runtime.prod.js1616465) at async Object.handler (/var/task/apps/web/___next_launcher.cjs585) at async Server.r (/opt/rust/nodejs.js214674) at async Server.<anonymous> (/opt/rust/nodejs.js166104)
here's another example 57a3aa023351ae92f2bbc60da957090903535884 with this response
Copy code
AxiosError: Request failed with status code 500
    at settle (file:///var/task/node_modules/axios/lib/core/settle.js:19:12)
    at IncomingMessage.handleStreamEnd (file:///var/task/node_modules/axios/lib/adapters/http.js:599:11)
    at IncomingMessage.emit (node:events:529:35)
    at endReadableNT (node:internal/streams/readable:1400:12)
    at process.processTicksAndRejections (node:internal/process/task_queues:82:21)
    at Axios.request (file:///var/task/node_modules/axios/lib/core/Axios.js:45:41)
    at process.processTicksAndRejections (node:internal/process/task_queues:95:5)
    at async l.downloadWithExportId (/var/task/apps/web/.next/server/chunks/1151.js:157:48143)
    at async /var/task/apps/web/.next/server/pages/api/inngest.js:1:11557
    at async V1InngestExecution.tryExecuteStep (/var/task/node_modules/inngest/components/execution/v1.js:192:20)
    at async steps-found (/var/task/node_modules/inngest/components/execution/v1.js:140:36)
    at async V1InngestExecution._start (/var/task/node_modules/inngest/components/execution/v1.js:83:36)
    at async InngestCommHandler.handleAction (/var/task/node_modules/inngest/components/InngestCommHandler.js:492:36)
    at async ServerTiming.wrap (/var/task/node_modules/inngest/helpers/ServerTiming.js:64:21)
    at async ServerTiming.wrap (/var/task/node_modules/inngest/helpers/ServerTiming.js:64:21)
    at async K (/var/task/node_modules/next/dist/compiled/next-server/pages-api.runtime.prod.js:20:16881)
    at async U.render (/var/task/node_modules/next/dist/compiled/next-server/pages-api.runtime.prod.js:20:17520)
    at async r9.runApi (/var/task/node_modules/next/dist/compiled/next-server/server.runtime.prod.js:17:44515)
    at async r9.handleCatchallRenderRequest (/var/task/node_modules/next/dist/compiled/next-server/server.runtime.prod.js:17:38432)
    at async r9.runImpl (/var/task/node_modules/next/dist/compiled/next-server/server.runtime.prod.js:16:17376)
    at async r9.handleRequestImpl (/var/task/node_modules/next/dist/compiled/next-server/server.runtime.prod.js:16:16465)
    at async Object.handler (/var/task/apps/web/___next_launcher.cjs:58:5)
    at async Server.r (/opt/rust/nodejs.js:2:14674)
    at async Server.<anonymous> (/opt/rust/nodejs.js:16:6104)