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

117 views1 day agouser defined API
0
Felix Hoven [DevOps Advocate]48 2 days ago 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

Gerwin van der Kamp [DevOps Enabler] Answered question 1 day ago

2 Answers

  • Active
  • Voted
  • Newest
  • Oldest
1
Gerwin van der Kamp [DevOps Enabler]3.18K Posted 2 days ago 1 Comment

Does the script require the input of an element that you try to change?

Felix Hoven [DevOps Advocate] Posted new comment 1 day ago
Felix Hoven [DevOps Advocate] commented 1 day ago

Hi Gerwin, if i understand it correctly we do not add input parameters to the script. Everything is fix.
Here is an export of the Code for the Automation. Is there something im missing ?

<DMSScript options="272" xmlns="http://www.skyline.be/automation"&gt;
<Name>IRD 24 IP GEO Television HD Main VLAN301</Name>
<Description>
</Description>
<Type>Automation</Type>
<Author>XXXX</Author>
<CheckSets>FALSE</CheckSets>
<Folder>IRD 24/IP-Kabelmux/Bedrock VLAN 301 404</Folder>
<Protocols>
<Protocol id="2">
<Description>sawd-dist3</Description>
<Name>Arista Manager</Name>
<Version>Production</Version>
<DefaultElement>191301/256</DefaultElement>
</Protocol>
<Protocol id="1">
<Description>IRD24</Description>
<Name>CISCO D9800</Name>
<Version>Production</Version>
<DefaultElement>191301/257</DefaultElement>
</Protocol>
</Protocols>
<Memory>
</Memory>
<Parameters>
</Parameters>
<Script>
<Exe id="2" type="csharp">
<Value><![CDATA[// Find the script dummy
ScriptDummy dummyArista = engine.GetDummy("sawd-dist3");

// Define the command to configure the interface and VLAN
string cmd1 = "interface Ethernet46;switchport access vlan 301;";

// Kopiert den string in das Commands Feld im Explorer
dummyArista.SetParameter("Commands", cmd1);

// Drückt den Submit Knopf im Explorer
dummyArista.SetParameter(6010, 1);]]></Value>
<Message>
</Message>
</Exe>
<Exe id="3" type="set">
<Param protocol="1">6055:1/1/1</Param>
<Value>239.XXX.XX.XX</Value>
</Exe>
<Exe id="4" type="set">
<Param protocol="1">6056:1/1/1</Param>
<Value>1XXXX</Value>
</Exe>
<Exe id="5" type="set">
<Param protocol="1">6051:1/1/1</Param>
<Value>Yes</Value>
</Exe>
<Exe id="6" type="set">
<Param protocol="1">6061:1/1/1</Param>
<Value>Data1</Value>
</Exe>
</Script>
</DMSScript>

Best regards Felix

0
Gerwin van der Kamp [DevOps Enabler]3.18K Posted 1 day ago 0 Comments

Ah yes, it takes an scripts dummy:

ScriptDummy dummyArista = engine.GetDummy("sawd-dist3");

That one does not get set through by calling the script through the api route.

Gerwin van der Kamp [DevOps Enabler] Answered question 1 day ago
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