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

API Deployment – Create token

Solved1.93K views21st March 2023API deployment
4
Miguel Obregon [SLC] [DevOps Catalyst]19.00K 7th April 2022 4 Comments

Hi Dojo,

After enabling the API deployment (using the soft launch setting), I was planning to create a token to start testing this feature. However, whenever I click the button ‘Create’, I don’t see the token created:

Checking the Cube logging, I see the following warning message:

Message : APIDeploymentManager => Exception while getting creating a new token (TEST_TOKEN)
Exception : (Code: 0x80131500) Skyline.DataMiner.Net.Exceptions.DataMinerException: Got null/empty response from the message handler. Is the helper setup correctly?
at Skyline.DataMiner.Net.ManagerStore.CrudHelperComponent`1.RetrieveResponse(DMSMessage request)
at Skyline.DataMiner.Net.ManagerStore.CrudHelperComponent`1.RetrieveResponse[TResp](DMSMessage request)
at Skyline.DataMiner.Net.ManagerStore.CrudHelperComponent`1.RetrieveCrudResponse(DMSMessage request)
at Skyline.DataMiner.Net.ManagerStore.CrudHelperComponent`1.InnerCreate(T obj, IAdditionalOperationMeta operationMeta)
at Skyline.DataMiner.Client.Framework.Components.APIDataManager.APIDataManager.CreateToken(String name, Int32 maxRequestsPerSecond)

Is there any additional setting that has to be performed in the DMA to be able to create tokens?

DMA version: 10.2.4.0-11608

Miguel Obregon [SLC] [DevOps Catalyst] Selected answer as best 21st March 2023
Gellynck Jens [SLC] commented 7th April 2022

Does the SLApiDeploymentManager.txt logfile contain any useful information? I would also check if NATS is running stable (SLMessageBroker.txt)

Miguel Obregon [SLC] [DevOps Catalyst] commented 7th April 2022

Hi Jens,
I had a look at the log file and I could only find this entry:
++++++++
2022/04/07 11:02:33.977|SLLog|ApplyLogLevels|CRU|-1|Log Levels: Info: 0; Error: 0; Debug: 0 (from LogSettings.xml)
2022/04/07 11:05:44.077|SLNet.exe|Initialize|CRU|0|5|Initializing APIDeploymentManager…
++++++++
Could it be the case the the APIDeploymentManager is not running?

Gellynck Jens [SLC] commented 8th April 2022

If the manager correctly initialized you should indeed see “Initialized APIDeploymentManager”, which would lead me to believe that it indeed has not fully or correctly initialized. During the initialize it will try to set up a connection with NATS so I would look further in that direction

Miguel Obregon [SLC] [DevOps Catalyst] commented 8th April 2022

Hi Jens,
Thanks for your reply.
Indeed, I was also suspecting about NATS. For that reason I stopped the DMA and run the tool SLEndpointTool_Console.exe and proceed to install again NATS. However, after restarting the DMA, the issue persists

2 Answers

  • Active
  • Voted
  • Newest
  • Oldest
4
Miguel Obregon [SLC] [DevOps Catalyst]19.00K Posted 8th April 2022 2 Comments

Hi Dojo team,

We found the issue. The process SLAPIEndpoint was not running. After unregister and register again the DLLs and services (using the batch tools available in C:\Skyline DataMiner\Tools) we managed to to make the process available in the Task Manager. After restarting the DMA we were able to create tokens

Miguel Obregon [SLC] [DevOps Catalyst] Selected answer as best 21st March 2023
Gellynck Jens [SLC] commented 8th April 2022

Perhaps we should improve the software by making the errors clearer in this case. Can you create a task for this?

Miguel Obregon [SLC] [DevOps Catalyst] commented 8th April 2022

Task created:
https://collaboration.dataminer.services/task/182894

1
Ben Vandenberghe [SLC] [DevOps Enabler]9.06K Posted 7th April 2022 4 Comments

I suspect that there are DMS Rights associated with this, as it is typically done for any new capabilities introduced in DataMiner.  And often these are disabled by default, to make sure users consciously choose whom should be able to access and use these.  Maybe you don’t have some of those enabled then?

Miguel Obregon [SLC] [DevOps Catalyst] Posted new comment 7th April 2022
Ben Vandenberghe [SLC] [DevOps Enabler] commented 7th April 2022

Just checked. I see DMS Rights for Deploying APIs, Viewing the Deployed APIs. to Undeploy, to create & access tokens, and one to View tokens. Maybe one or more are disabled for you?

Miguel Obregon [SLC] [DevOps Catalyst] commented 7th April 2022

Hi Ben,
Thanks for the reply, I was using the built-in administrator account for my tests.
I performed another test (this time with another user with administrative rights), however I still get the same error. I double checked the DMS Rights and confirmed that my test user has the option to create and update API access tokens

Ben Vandenberghe [SLC] [DevOps Enabler] commented 7th April 2022

I see you don’t have endpoints listed, might it be related to that?

Miguel Obregon [SLC] [DevOps Catalyst] commented 7th April 2022

Hi Ben,
I believe that in order to create endpoints, first you need to create tokens.

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