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
    • YouTube Videos
    • Solutions & Use Cases
      • Solutions
      • Use Case Library
    • Agility
      • Book your Agile Fundamentals training
      • Book you Kanban workshop
      • Learn more about 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)
    • >> Go to DataMiner Docs
  • DevOps
    • About the DevOps Program
    • Sign up for the DevOps Pogram
    • DataMiner DevOps Support
    • Feature Suggestions
    • Climb the leaderboard!
    • Swag Shop
  • Downloads
  • Contact
    • Sales, Training & Certification
    • DataMiner Support
    • Global Feedback Survey
  • PARTNERS
    • All Partners
    • Technology Partners
    • Strategic Partner Program
    • Solutions
    • Deal Registration
  • >> Go to dataminer.services

Unauthorized error while calling API

101 views5 days agoapi calls Automation script Custom APIs
0
Baranisudha Murugesan866 5 days ago 0 Comments

I have a custom API which im calling from my GQI to get data. The GQI data is then rendered in grid component LCA. I refresh the grid every 10 seconds, and I cache API response in my GQI for 30 seconds. So for every 30 secs i call my custom API to get data.

Sometimes the API client call throws 401 error even though im passing correct token. this error is thrown once for every 4 API call.

I tried to get data from same API through postman, there also i get same 401 error for once in every 4 calls.

what could be the issue here and how to resolve this?

Wale Oguntoyinbo [SLC] [DevOps Advocate] Answered question 5 days ago

1 Answer

  • Active
  • Voted
  • Newest
  • Oldest
1
Wale Oguntoyinbo [SLC] [DevOps Advocate]3.49K Posted 5 days ago 2 Comments

By custom API I assume you mean a 3rd party API and not a user defined API within Dataminer. As you are getting the same error in postman the problem most likely lies at the API endpoint. I can think of two possible reasons;

  1. Rate limiting by the API. (Slow down the rate of requests to see if it makes a difference)
  2. Load balancing at the endpoint and one of the servers the requests gets to invalidates the token.

These are of course wild guesses but I think the focus of your investigation should be on the endpoint serving your requests.

Wale Oguntoyinbo [SLC] [DevOps Advocate] Posted new comment 4 days ago
Baranisudha Murugesan commented 4 days ago

I have user defined API in dataminer.

Wale Oguntoyinbo [SLC] [DevOps Advocate] commented 4 days ago

In that case your first port of call should be the Data Aggregator (DxM) logs which you can access via System Center > Logging or C:\ProgramData\Skyline Communications\DataMiner DataAggregator\Logs.
Can you check and see if the logs shed more light when you get the authentication error.

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

[ Placeholder content for popup link ] WordPress Download Manager - Best Download Management Plugin