Skip to main content
Announcements
Global Transformation Awards! Applications are now open. Submit Entry
cancel
Showing results for 
Search instead for 
Did you mean: 
richardpearce60
Contributor II
Contributor II

Qlik Python SDK qlik.spaces.get_spaces() error

Hello all

having a very basic issue here, I'm wondering if the SDK (Python) is at fault.

I'm connecting to Qlik fine and can do simple SDK tasks okay... However, a very simple task is failing with a strange error

I want to return a list of spaces using 

ls_space =qlik.spaces.get_spaces()
 
This returns an error:
...
File "/usr/lib/python3.8/enum.py", line 339, in __call__
return cls.__new__(cls, value)
File "/usr/lib/python3.8/enum.py", line 663, in __new__
raise ve_exc
ValueError: 'change_owner' is not a valid ActionName
 
when I use:
ls_space = qlik_oauth_connection.client.rest(path="/spaces" , method="GET")
 
it works with no problem... (same auth / user)
 
I checked the get space help and although there are many options none seemed to be required so not sure why it's not working...
 
Any ideas?
 
 
 
 
Labels (1)
  • API

2 Replies
richardpearce60
Contributor II
Contributor II
Author

@DaveChannon are you able to help

CedLeb
Employee
Employee

Hi @richardpearce60 

I'm able to reproduce the issue as well, and indeed it seems to be due to the SDK. I'm going to report it to our developers.