I also tried sending the field value as a 'data' kwarg, rather than in the 'params' kwarg, but it made no difference. trello trello-api magicmirror magic-mirror-modules. I think it might be something to do with encoding, but after trying to encode the value dict to json, and set the requests header to "application/json", both to no avail, I'm out of ideas.Ĭode: def trello_card_update_custom_field(card_id, custom_field_id, custom_field_value): It provides a very simple Trello integration, by displaying cards in a list. 'Invalid custom field item value.', 'error': 'ERROR' My python script can set the value of the field to "" just fine, but when I try to set the value to a non-empty-string, it gives an error: I'm using python to edit my Trello cards - specifically, I'm trying to update Custom Field values on the cards.
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |