R - Domo API SDK (rdomo) - Working??
Hi,
My colleagues and I, from various departments including Research and Accounting, were surprised when the Domo API stopped responding last Tuesday. Initially, we suspected it might be an issue with our IT Department, but they promptly confirmed that they hadn't blocked any API calls and had checked their firewall settings.
The error we are getting was simple time out using:
data ← domo$ds_get("")
Error in if (time_since < 50) { : missing value where TRUE/FALSE needed
We use Domo API for multiple workflow around the company. Could you help us?
Thank you
Answers
-
Some suggestions:
• Check API Rate limits
• Verify the query itself
• Check API Authentication. Make sure the token has not expired. Test with a simple GET.
• Check if there's too much data being fetched. Maybe try a small set as a test.
• Check with IT to make sure no firewall settings changed, blocking the call** Was this post helpful? Click Agree or Like below. **
** Did this solve your problem? Accept it as a solution! **0 -
Hi @ArborRose ,
Thank you for the quick reply.
• Check API Rate limits ✅ (Check)
• Verify the query itself✅ (Check)
• Check API Authentication. Make sure the token has not expired. Test with a simple GET. ✅ (Check)
• Check if there's too much data being fetched. Maybe try a small set as a test.✅ (Verify with 5 rows dataset)
• Check with IT to make sure no firewall settings changed, blocking the call ✅ (Verify with IT security team. The first thing I did when I saw this problem)
What makes this issue so strange is that there's no response from the Domo API. Typically, any misconfiguration or rate limit would return an error, but the worse to be completely ghosted by the API server because you don't where is the problem.
Do you able to use Domo API with RDomo?0 -
I don't use the API with R-Domo. I use other connectors via Python, etc.
Based on your "check list", it looks like you can communicate with a small dataset of five rows. That makes me lean toward thinking the size of the dataset may be an issue. You might try gradually upping that size and retest.
I've had an issue in Jupyter / Python where I can confirm the API has finished sending the data, but my data frame has not completed receiving and storing it before a timeout. This leaves me with an empty dataset. To solve this I put a retry counter to force the code to give it extra time for the delivery. I wonder if you are hitting something similar.** Was this post helpful? Click Agree or Like below. **
** Did this solve your problem? Accept it as a solution! **0
Categories
- All Categories
- 1.8K Product Ideas
- 1.8K Ideas Exchange
- 1.5K Connect
- 1.2K Connectors
- 300 Workbench
- 6 Cloud Amplifier
- 8 Federated
- 2.9K Transform
- 100 SQL DataFlows
- 616 Datasets
- 2.2K Magic ETL
- 3.8K Visualize
- 2.5K Charting
- 737 Beast Mode
- 55 App Studio
- 40 Variables
- 684 Automate
- 176 Apps
- 452 APIs & Domo Developer
- 46 Workflows
- 10 DomoAI
- 35 Predict
- 14 Jupyter Workspaces
- 21 R & Python Tiles
- 394 Distribute
- 113 Domo Everywhere
- 275 Scheduled Reports
- 6 Software Integrations
- 123 Manage
- 120 Governance & Security
- 8 Domo Community Gallery
- 38 Product Releases
- 10 Domo University
- 5.4K Community Forums
- 40 Getting Started
- 30 Community Member Introductions
- 108 Community Announcements
- 4.8K Archive