Skip to main content

Add file to column using add_file_to_column

  • March 21, 2022
  • 2 replies
  • 1113 views

I haven’t found more or less useful example how to use add_file_to_column in GraphQL, so I have tried the following code.

`

mutation add_file{
	add_file_to_column(
		item_id:2438299131, 
		column_id: "dup__of_prd", 
		file: {url:"https://gdlp01.c-wss.com/gds/0/0300004730/02/eosrt3-eos1100d-im2-c-en.pdf"}
	)
	{id}     
}

`

I got 500 Internal server error and it is more understandable issue during my exercises.

Can you help me to understand the mistake or share good examples how to call add_file_to_column in the tight way?
The most critical for me is understanding the using of File! parameter/variable.

2 replies

  • New Participant
  • February 3, 2025

Did you found any solution?


Forum|alt.badge.img
  • monday.com Team Member
  • February 5, 2025

Hey @bustbrainlabs

Welcome to the community! Bill here from monday.com 👋

File mutations are sent differently and have their own endpoint in our API.

You can check out the documentation below for more details:

monday.com Platform API

I hope this helps.

Cheers,
Bill