{"errors":[{"message":"No query string was present"}],"account_id":8845295}

JAVA
https://api.monday.com/v2
query → {"query":"mutation{add_file_to_update(file:“+file+”, "
+ “update_id:”+itemID+“) {id}}}”

response → {“errors”:[{“message”:“No query string was present”}],“account_id”:8845295}

https://api.monday.com/v2/file
query → {"query":"mutation{add_file_to_update(file:“+file+”, "
+ “update_id:”+itemID+“) {id}}}”
response → 404

POSTMAN

https://api.monday.com/v2

query: mutation add_file($update_id:Int!, $file: File!) {add_file_to_update(update_id: $update_id, file:$file) {id}}
variables: {“update_id”:1262644561}
map: {“image”:“variables.file”}
image: (image path)

response
{
“errors”: [
{
“message”: “Variable file of type File! was provided invalid value”,
“locations”: [
{
“line”: 1,
“column”: 36
}
],
“value”: null,
“problems”: [
{
“path”: ,
“explanation”: “Expected value to not be null”
}
]
}
],
“account_id”: 8845295

https://api.monday.com/v2/file

query: mutation add_file($update_id:Int!, $file: File!) {add_file_to_update(update_id: $update_id, file:$file) {id}}
variables: {“update_id”:1262644561}
map: {“image”:“variables.file”}
image: (image path)

response
{
“error_message”: “Internal server error”,
“status_code”: 500
}