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
    • Kanban workshop
    • 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
  • Support
  • PARTNERS
    • All Partners
    • Technology Partners
    • Strategic Partner Program
    • Deal Registration
  • >> Go to dataminer.services

What can cause NotifyProtocol with 168 failed. 0x80040221

Solved834 views4th January 2024NotifyProtocol NT_GET_INDEXES
1
Julian Yepe [SLC] [DevOps Advocate]227 3rd January 2024 0 Comments

I am seeing this error ‘2023/12/27 10:56:45.329|SLManagedScripting.exe|ManagedInterop|ERR|-1|14|NotifyProtocol with 168 failed. 0x80040221’ be thrown on element start and I am not sure what is causing it. As I understand it, 168 is NT_GET_INDEXES and the error code signifies that invalid is being passed. However, the problem is that i can’t find the call anywhere in the driver so I am very confused as to what is causing this log to appear. Any information will be greatly appreciated.

Julian Yepe [SLC] [DevOps Advocate] Selected answer as best 4th January 2024

1 Answer

  • Active
  • Voted
  • Newest
  • Oldest
4
Tom Waterbley [SLC] [DevOps Catalyst]8.90K Posted 3rd January 2024 4 Comments

Hi Julian, NotifyProtocol 168 is executed behind the scenes when the keys of a table are being retrieved. Probably there is somewhere a GetKeys() call with a non-existing table ID. ClearAllKeys() is another method that executes that notify.

João Severino [SLC] [DevOps Catalyst] Posted new comment 5th January 2024
Julian Yepe [SLC] [DevOps Advocate] commented 4th January 2024

Thank you Tom, that helps a lot. After going through all GetKeys methods in the driver, I saw that they all use tables that exist in the driver that are displayed. Do you know of any other calls that might execute the notify?

Tom Waterbley [SLC] [DevOps Catalyst] commented 4th January 2024

Hi Julian, I’m not aware of other methods that use this notify. What you could is enabling development logging. That could help to pinpoint where exactly (which QAction/trigger) causes the problem. Besides that I would propose to add some additional logging.

Julian Yepe [SLC] [DevOps Advocate] commented 4th January 2024

Tom, I was able to find what was causing it with the development logging. it was a protocol.FillArray method where the list of rows being passed was empty. i added an additional check to only call the method when the count is greater than zero. Thank you for the help!

João Severino [SLC] [DevOps Catalyst] commented 5th January 2024

Hi Julian,
Could you confirm which FillArray method you are using?
There is a valid use case for passing an empty list of rows to a FillArray using SaveOption.Full and that is to clear all entries of the table.
Be aware of changing the code if there is no other mechanism to clear such rows.

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