2

Unable to create new status using SHOTGUN PYTHON API

Please see my code and tell me how to solve error which is given below or tell me how to create Status...Thank you

Code

shot = sg.create("Status",{"code":"Done","name":"Test","icon":"Active"})

Error

Fault: API create() Status.icon expected [Hash, NilClass] data type(s) but got String:"Active"

 

Please tell me what is [Hash, NilClass] Data Type

1 条评论

请先登录再写评论。