Hi All,
Having a nightmare here, I’ve tried in python, node.js and curl and I cannot upload a file via the API.
Here is a basic curl request I’m using: curl --location ‘https://api.monday.com/v2/file’
–header ‘Authorization: Bearer REDACTED’
–form ‘variables[file]=@/path/to/your/file.jpg’
–form ‘query=mutation($file: File!) { add_file_to_column(item_id: 8123268638, column_id: “text”, file: $file) { id } }’
according to the docs this should work, but all I get is:
{
“status_code”: 500,
“error_message”: “Internal server error”,
“error_code”: “INTERNAL_SERVER_ERROR”,
“errors”: [
{
“message”: “Internal server error”,
“extensions”: {
“status_code”: 500,
“error_code”: “INTERNAL_SERVER_ERROR”
}
}
]
}
no matter what implementation I use, is there an issue with the API?