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

Scripted Connector not creating the element

Solved932 views30th September 2024JSON logs Scripted Connectors
4
Lucas Sanchez [DevOps Advocate]126 14th June 2024 2 Comments

I’ve been testing the scripted connector after attending Empower 2024 and noticed that while some JSON files work fine, others do not. The issue seems to occur with nested JSON files containing very little data. I haven’t been able to pinpoint the cause of the failures.

Could anyone advise where I can check the logs to identify what’s going wrong? Unfortunately, I can’t share the JSON example as it contains sensitive data.

Thanks.

Marieke Goethals [SLC] [DevOps Catalyst] Selected answer as best 30th September 2024
Marieke Goethals [SLC] [DevOps Catalyst] commented 27th August 2024

I see that this question has been inactive for some time. Do you still need help with this? If not, could you select the answer that has been most helpful for you (using the ✓ icon)?

Marieke Goethals [SLC] [DevOps Catalyst] commented 30th September 2024

As this question has now been inactive for a long time, I will close it. If you still want more information about this, could you post a new question?

3 Answers

  • Active
  • Voted
  • Newest
  • Oldest
1
Jan-Klaas Kesteloot [SLC] [DevOps Advocate]1.13K Posted 17th June 2024 0 Comments

Hi Lucas,

Thank you for attending Empower. It’s great to see that you are continuing with Data API and scripted connectors!

Data API is provided by a DxM with the same name, and scripted connectors are executed by the DxM DataAggregator. For troubleshooting, I suggest you check the log files of these DxMs. You can find DxM logging at C:\ProgramData\Skyline Communications.

If you are using DaaS, you won’t be able to access the log files because you need file access to the server. We know about this issue and are working on a solution.

You can also make the HTTP request to the Data API directly to get error messages. There is a swagger file available on the server at http://localhost:34567/swagger/index.html, but this also requires direct access to the server.

If you are using DaaS, you can run your HTTP call from an automation script and print out the error message.

Marieke Goethals [SLC] [DevOps Catalyst] Selected answer as best 30th September 2024
0
Laurens Moutton [SLC] [DevOps Enabler]8.74K Posted 17th June 2024 0 Comments

Hi,

Without the JSON example it will be hard to understand where it is going wrong.

To be able to further help you, would it be an option to send an e-mail to our techsupport with the JSON? If the content is too sensitive to share with our techsupport, would it be an option to replace the values with something else of dummy data, e.g. “SensitiveProperty”: “SensitiveValue” becomes “SensitiveProperty”: “ABC”?

Regards,

Laurens Moutton [SLC] [DevOps Enabler] Answered question 17th June 2024
-1
Esteban Pardo [SLC] [DevOps Advocate]396 Posted 14th June 2024 1 Comment

Hello Lucas,

I have been working extensively on creating elements using a connector and/or Automation Scripts. So far, I have been using the IDms class. Here is a short example:

IDms dms = engine.GetDms();
IDma agent = dms.GetAgents().FirstOrDefault();

DmsElementId id = agent.CreateElement();

To check the logs for errors, you can use the information event console inside Cube. There is a good chance you will find valuable information about any errors you might encounter.

I hope this answer was useful to you. If not, I apologize for any misunderstanding.

Laurens Moutton [SLC] [DevOps Enabler] Posted new comment 17th June 2024
Laurens Moutton [SLC] [DevOps Enabler] commented 17th June 2024

Hi, to clarify: the question is about the Scripted Connectors which is a Python, or PowerShell script that is automatically running every minute to retrieve data and then push this to the Data API, which is going to automatically create a connector and element and will fill it with data. The solution provided in your answer is about an automation script, which is something different. More info about scripted connectors can be found here: https://docs.dataminer.services/user-guide/Advanced_Modules/Data_Sources/Data_Sources.html

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