Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[Bug] "Failed to convert API response into JSON" in all modules of Nutanix.ncp ansible collection #490

Open
marathe-99 opened this issue Jul 31, 2024 · 3 comments
Assignees
Labels
1.9.3_triage Bug fixes & Improvements bug Something isn't working

Comments

@marathe-99
Copy link

Describe the bug
In this Nutanix Ansible Collection when we ran any of the modules it threw the same error "Failed to convert API response into JSON"

To Reproduce
Steps to reproduce the behavior:

  1. ansible command
  2. sample playbook used.

image

Expected behavior
It should give the information of the imaged nodes.

Additional context
image

@marathe-99 marathe-99 added the bug Something isn't working label Jul 31, 2024
@marathe-99 marathe-99 changed the title [Bug] <summary of issue> in module <module_name> [Bug] "Failed to convert API response into JSON" in all modules of Nutanix.ncp Aug 1, 2024
@marathe-99 marathe-99 changed the title [Bug] "Failed to convert API response into JSON" in all modules of Nutanix.ncp [Bug] "Failed to convert API response into JSON" in all modules of Nutanix.ncp ansible collection Aug 1, 2024
@marathe-99
Copy link
Author

Please rectify the issue and resolve the issue it's very important.

@konstruktoid
Copy link

Related PR: #486

@bhati-pradeep
Copy link
Collaborator

bhati-pradeep commented Aug 2, 2024

@marathe-99 meanwhile this issue is resolved (which will need a maintenance release), can you tell me which way are you using this plugin (galaxy, directly building the provider, etc.)? So that I can suggest you a way to look into this error.

Also this error can come if your response was empty.

  1. Verify your spec is as per documented module spec
  2. (Optional) Check the foundation UI if the task has been created or not.

@bhati-pradeep bhati-pradeep added the 1.9.3_triage Bug fixes & Improvements label Aug 5, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
1.9.3_triage Bug fixes & Improvements bug Something isn't working
Projects
Development

No branches or pull requests

6 participants