Hi all, We are experiencing issues exporting a vi...
# gooddata-cloud
f
Hi all, We are experiencing issues exporting a visualization to CSV with the API. Most visualizations work, there is just a particular one that has an issue that we are not sure why. Here is the
traceId
with the error:
15427221f565a96444df604dfeabb363
:
Copy code
{
  "detail": "Server-side problem. Contact support.",
  "status": 500,
  "title": "Internal Server Error",
  "traceId": "15427221f565a96444df604dfeabb363"
}
Here is the requests we made: Endpoint:
/api/v1/actions/workspaces/:workspace_id/export/tabular
Body:
Copy code
{
  "format": "CSV",
  "fileName": "pal.csv",
  "settings": {
    "mergeHeaders": true,
    "showFilters": false
  },
  "visualizationObject": "<objectId>"
}
Resulting Status: 201 Endpoint:
/api/v1/actions/workspaces/:workspace_id/export/tabular/:export_id
Resulting Status: 500 with above error
m
Hi Faiza, it looks like this issue happens under specific circumstances only, for example when the insight has metrics/facts or attributes only. Could you please confirm? If so, could you try adding an attribute or otherwise a metric or fact and let me know if it can be exported?
f
@Moises Morales Yes, this resolves the issue. Is this a limitation of the export API or will this be resolved so in future we can export visualizations with attributes only?
m
We have an internal ticket for this issue, but at this time I cannot provide an ETA
Could you confirm how critical this is for you?
f
@Moises Morales Thanks for letting me know! I wouldn't say it's super critical now that we are aware of the issue. Adding a fact or metric to a visualization works as a temporary solution. However, our GoodData visualizations are client facing and our clients also use the export API to export the CSV data of our visualizations, so it would be nice to eventually keep them clean and free of unnecessary clutter.
m
I will be glad pass the message along to our developers!
Hi @Faizah Sayyid I am glad to inform you that our developers have fixed the bug. Could you please confirm that the export is now successful with only one dimension?