Custom Connector | Response size too big - Error 500
Hi guys,
I am working on a custom connector to access an API, and the response I need from the API is a link to download a CSV file. I was able to figure out that if I use httprequest.get(URL) I can 'download' the file and save it in a text variable and then use the datagrid.magicParseCSV to send it to the Datagrid.
The issue is that I am getting the error 'Domo encountered an error proxying your request: 500' because the response size sometimes is too big (more than 7Mb).
Is there a better way to handle the download link than using the httprequest.get?
Also, what do you guys recommend to deal with the response size? I could have a lot of request calls but it would be too many. In one of my reports, if I get more than 2 days of data, the request is already too big. It would grow exponentially with time.
Thanks!
Categories
- 7.3K All Categories
- 13 Getting Started in the Community
- 141 Beastmode & Analytics
- 1.8K Data Platform & Data Science
- 54 Domo Everywhere
- 2K Charting
- 1K Ideas Exchange
- 903 Connectors
- 236 Workbench
- 342 APIs
- 77 Apps
- 19 Governance & Productivity
- 235 Use Cases & Best Practices
- 50 News
- 473 Onboarding
- 572 日本支部