Unsolved

1 Rookie

 • 

2 Posts

18

October 27th, 2025 18:08

Ansible automation error "Got error ValueError: 'Expecting value: line 1 column 1 (char 0)' for Method: 'GET'"

Hello.

I have a custom EE in AWX with Ansible 2.17 and the collection for Dell PowerStore.

I wrote a playbook to create a volume on the storage based on the example from https://github.com/dell/ansible-powerstore/blob/main/docs/modules/volume.rst, but did not work. My playbook is this:

---# Agregar un volumen en Dell PowerStore.- name: Crear el volumenregister: result_voldellemc.powerstore.volume:array_ip: 'a.b.c.d'user: '<stg_usrname>'password: '<stg_passwd>'validate_certs: falsevol_name: vol_pruebasize: 30cap_unit: 'GB'state: 'present'

I executed it but failed saying

"msg": "Got error ValueError: 'Expecting value: line 1 column 1 (char 0)' for Method: 'GET' URL: 'https://172.20.31.50:443/api/rest/software_installed' PayLoad: 'None' QueryString: '{'select': 'release_version'}' while getting details of volume"

I searched for this error but could not find a suitable answer. Please help me understand and correct this erro.

Thank you.

1 Rookie

 • 

2 Posts

November 7th, 2025 12:07

When I go to

https://<MY_CLUSTER_IP>/api/rest/software_installed?select=release_version

in my browsers I get asked via pop-up for the credentials (username and password), and after entering them I get the versions:

[ {"release_version":"4.1.0.0"}, {"release_version":"4.1.0.0"}, {"release_version":"4.1.0.0"} ]

I supposed the username and password were taken from the playbook itself. Should I store them somewhere else?

Thank you.

Nicolás.

No Events found!

Top