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
    • 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
  • Downloads
  • Swag Shop
  • PARTNERS
    • Business Partners
    • Technology Partners
  • Contact
    • Sales, Training & Certification
    • DataMiner Support
    • Global Feedback Survey
  • >> Go to dataminer.services

ErrorCode 12 on GET Request

200 views5 days agouser defined API
0
Felix Hoven [DevOps Advocate]50 3rd September 2025 0 Comments

We want to trigger an automation built in Dataminer via API but get an error code 12 as response.

This is from the Automation logs:

2025/09/02 09:42:13.013|SLAutomation.exe 10.5.2443.11256|35268|22884|CScriptRunInfo::CheckElementStates|DBG|-1|(Script IRD 24 IP GEO Television HD Main VLAN301) Could not start script: no element linked to dummy id 2 (sawd-dist3)
2025/09/02 09:42:13.013|SLAutomation.exe 10.5.2443.11256|35268|22884|CScriptLoader::StartScript|DBG|-1|Script execution could not be started (IRD 24 IP GEO TELEVISION HD MAIN VLAN301)
**********

The script works when using the “Execute” button in Dataminer and also when integrated in Visio.
I also tried another script. There, we also get the message “no element linked to dummy XXX.”

Best regards, Felix

Wouter Van Robays [SLC] [DevOps Enabler] Answered question 5 days ago

3 Answers

  • Active
  • Voted
  • Newest
  • Oldest
1
Wouter Van Robays [SLC] [DevOps Enabler]1.30K Posted 5 days ago 2 Comments

Hi Felix,

As mentioned by Gerwin, script dummies are indeed not set on the API script using User-Defined APIs. What you can do, is remove the dummy from your API script, and separate the logic that uses the dummy to a different script, and then run that script as a subscript from your User-Defined API script.

Wouter Van Robays [SLC] [DevOps Enabler] Posted new comment 4 days ago
Felix Hoven [DevOps Advocate] commented 5 days ago

Hi Wouter,

Just so I understand correctly: it is not possible to execute scripts that are built with your internal UX and use dummies in the first section via the API. Most of our scripts are built this way and some use C#.

Wouter Van Robays [SLC] [DevOps Enabler] commented 4 days ago

Hi Felix,
Correct, I see that your script has multiple action blocks, for User-Defined APIs, you can only have one C# code block, which uses the entry point for User-Defined APIs. You will have to rework your scripts to have a script with one C# block as entry point for the API, which can then either do the logic you want it do in C# code, or you can call your existing scripts from within your API script.

Docs to create a User-Defined API script: https://docs.dataminer.services/dataminer/Functions/User-Defined_APIs/Defining_an_API/UD_APIs_Defining_a_new_API.html
Example of an API script executing a subscript: https://docs.dataminer.services/dataminer/Functions/User-Defined_APIs/Defining_an_API/UD_APIs_Examples.html#starting-long-running-actions-asynchronously

You are viewing 1 out of 3 answers, click here to view all answers.
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