You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Describe the bug
This bug involves improving the error messaging in Ansible to prevent crashes or backtrace displays when invalid credentials are detected. Currently, when a user provides incorrect credentials, the error handling is not robust. Instead of a simple, user-friendly error message, the system displays a detailed backtrace that originates from the utils.py file in the dnacentersdk library.
The issue stems from a core file, utils.py, within the dnacentersdk library. This library is external to our current module, which means that the root cause likely falls under the SDK Team’s area of responsibility rather than our own module’s code. Our module is not directly generating this error, instead, it’s a side effect from the deeper library level, which lacks streamlined error handling for such scenarios.
Expected behavior
A clear and concise error message from dnacentersdk library is needed.
Screenshots
Environment (please complete the following information):
Cisco DNA Center Version and patch: 2.3.7.6
Python version: 3.9.19
SDK version: 2.9.3
OS Version: sonoma 14.6.1
The text was updated successfully, but these errors were encountered:
Prerequisites
Describe the bug
This bug involves improving the error messaging in Ansible to prevent crashes or backtrace displays when invalid credentials are detected. Currently, when a user provides incorrect credentials, the error handling is not robust. Instead of a simple, user-friendly error message, the system displays a detailed backtrace that originates from the utils.py file in the dnacentersdk library.
The issue stems from a core file, utils.py, within the dnacentersdk library. This library is external to our current module, which means that the root cause likely falls under the SDK Team’s area of responsibility rather than our own module’s code. Our module is not directly generating this error, instead, it’s a side effect from the deeper library level, which lacks streamlined error handling for such scenarios.
Expected behavior
A clear and concise error message from dnacentersdk library is needed.
Screenshots
Environment (please complete the following information):
The text was updated successfully, but these errors were encountered: