Skip to content
DataMiner DoJo

More results...

Generic selectors
Exact matches only
Search in title
Search in content
Post Type Selectors
Search in posts
Search in pages
Search in posts
Search in pages
Log in
Menu
  • Updates & Insights
  • Questions
  • Learning
    • E-learning Courses
    • Empower Replay: Limited Edition
    • Tutorials
    • Open Classroom Training
    • Certification
      • DataMiner Fundamentals
      • DataMiner Configurator
      • DataMiner Automation
      • Scripts & Connectors Developer: HTTP Basics
      • Scripts & Connectors Developer: SNMP Basics
      • Visual Overview – Level 1
      • Verify a certificate
    • Video Library
    • Books We Like
    • >> Go to DataMiner Docs
  • Expert Center
    • Solutions & Use Cases
      • Solutions
      • Use Case Library
    • Markets & Industries
      • Media production
      • Government & defense
      • Content distribution
      • Service providers
      • Partners
      • OSS/BSS
    • Agile
      • Agile Webspace
      • Everything Agile
        • The Agile Manifesto
        • Best Practices
        • Retro Recipes
      • Methodologies
        • The Scrum Framework
        • Kanban
        • Extreme Programming
      • Roles
        • The Product Owner
        • The Agile Coach
        • The Quality & UX Coach (QX)
    • DataMiner DevOps Professional Program
      • About the DevOps Program
      • DataMiner DevOps Support
  • Downloads
  • More
    • DataMiner Releases & Updates
    • Feature Suggestions
    • Climb the leaderboard!
    • Swag Shop
    • Contact
    • Global Feedback Survey
  • PARTNERS
    • All Partners
    • Technology Partners
    • Strategic Partner Program
    • Deal Registration
  • >> Go to dataminer.services

Questions Regarding API Error Handling and Rate Limits in DataMiner

Solved185 views1st April 2025
1
Rachel Andrews78 26th March 2025 1 Comment

1. How can I prevent element timeout when receiving a 400 error from the API, and instead display the error message in a table?

The API I’m using allows sending multiple values in a single request. If any one of those values is invalid, the API responds with a 400 Bad Request, along with a descriptive error message in the response body (In Postman).

While the API behavior is expected in Postman, my element goes into a timeout whenever this happens.

  • Is there a way in DataMiner to handle the 400 response gracefully and avoid the timeout?

  • Can I extract the error message from the response and display it in a table column (e.g., as a per-row error field), instead of letting the element fail?

2. How can I avoid hitting the 429 “Too Many Requests” limit with an API that allows only 1,000 calls per month?

I occasionally receive 429 Too Many Requests errors, and I’d like to avoid hitting this monthly limit. Are there techniques in DataMiner to limit the number of API calls ?

Thanks,

Rachel Andrews Selected answer as best 1st April 2025
Rachel Andrews commented 26th March 2025

Just to add, It goes to timeout also when fetching the value then returns to normal state. How can I avoid this?

1 Answer

  • Active
  • Voted
  • Newest
  • Oldest
2
Bautista Solanet [SLC]245 Posted 26th March 2025 0 Comments

ignoreTimeout attribute | DataMiner Docs

You can disable timeout on specific API calls in you protocol by setting ignoreTimeout=”true” in the connection element. To display the error in a table, you could make an error Json class and deserialize the response the API returns to fill out your column. In your QAction where you process the response, if your status code is invalid, you would process an error message instead.

For your “Too Many Requests” error, you could store the number of requests you can make in a parameter and add a condition to your groups to make sure you are not going above your limit.

Rachel Andrews Selected answer as best 1st April 2025
Please login to be able to comment or post an answer.

My DevOps rank

DevOps Members get more insights on their profile page.

My user earnings

0 Dojo credits

Spend your credits in our swag shop.

0 Reputation points

Boost your reputation, climb the leaderboard.

Promo banner DataMiner DevOps Professiona Program
DataMiner Integration Studio (DIS)
Empower Katas
Privacy Policy • Terms & Conditions • Contact

© 2025 Skyline Communications. All rights reserved.

DOJO Q&A widget

Can't find what you need?

? Explore the Q&A DataMiner Docs