Skip to main content

Hi,

I

I have ran the following Python script and received a message:

{“data”:{“add_file_to_column”:{“id”:“639126111”}},“account_id”:7384772}

But in the item Files column the file is not displayed.


Here is the script:


import requests


url = “https://api.monday.com/v2/file


payload={‘query’: ‘mutation ($file: File!) {add_file_to_column (file: $file, item_id: 1455154608, column_id: “files”) {id}}’}


files=e

(‘variables file]’,(‘Board_Subitems.txt’,open(‘C:\\MyData\\Monday\\Files\\Board_Subitems.txt’,‘rb’),‘text’))

]


headers = {


‘Authorization’: ‘XXX’,

}


response = requests.request(“POST”, url, headers=headers, data=payload, files=files)


print(response.text)


I would appreciate some help.

Thanks!

Hi @Daffi!


Welcome to the community! We hope you like it here 🚀


This looks like it could be a bug and we’ll need your account details/access to investigate this issue outside of this public forum. Would you please send your message to appsupport@monday.com, along with your account account and board ID so we can take a look?


Thanks!


Reply