Unable to create item in podio with python library.
AnsweredI am trying to run following command from python and it is failing as shown below:
c.Item.create(11588191, {"company-name": "sample_value"})
Traceback (most recent call last):
File "<stdin>", line 1, in <module>
File "/Users/nuhbye/Envs/local_shipler/src/podio-py/pypodio2/areas.py", line 93, in create
hook=hook)))
File "/Users/nuhbye/Envs/local_shipler/src/podio-py/pypodio2/transport.py", line 146, in call
return handler(response, data)
File "/Users/nuhbye/Envs/local_shipler/src/podio-py/pypodio2/transport.py", line 216, in _handle_response
raise TransportException(response, data)
pypodio2.transport.TransportException: TransportException({'x-rate-limit-remaining': '998', 'status': '400', 'content-length': '260', 'server': 'nginx', 'connection': 'keep-alive', 'x-rate-limit-limit': '1000', 'date': 'Thu, 19 Mar 2015 16:32:10 GMT', 'x-podio-auth-ref': 'user_2762593', 'content-type': 'application/json; charset=utf-8', 'x-podio-request-id': 'dPOmA6L2'}): {"error_parameters":{},"error_detail":null,"error_propagate":false,"request":{"url":"http:\/\/api.podio.com\/item\/app\/11588191\/","query_string":"","method":"POST"},"error_description":"missing required propertyfields
orvalues
","error":"invalid_value"}
I am unable to create item in python, so need help. Please find the structure of the item being created attached with the ticket.
Thanks
Please sign in to leave a comment.
Comments
1 comment