error im uplad file API

[quote=“Soma Garamvögyi, post:1, topic:107682, username:Garam”]

  • ding a HTML file that points to status.monday.com, saying there are some technical issues.
  • HTTP 403 - Forbidden
  • HTTP 200 - Success - with the following message: 0 message:Variable $file of type File! was provided invalid value locations 0 line:1 column:10 extensions value:[null] problems 0 path:[empty array] explanation:Expected value to not be null

i have problem/
this code return internak serer error’ why?

string mutation = $@"
add_file_to_column (item_id: {itemId}, column_id: ““files_mkn0mwm9"”, file: “”{base64String}”“) {{
id
}}”;

        mutations.Add(mutation);
        // }

        string query = $@"
    mutation {{
        {string.Join("\n", mutations)}
    }}
";

        var requestBody = new { query };

        var json = JsonConvert.SerializeObject(requestBody);
        var httpContent = new StringContent(json, Encoding.UTF8, "application/json");
        // שליחת הבקשה לשרת
        var response = await _httpClient.PostAsync("https://api.monday.com/v2/file/", httpContent);

        // קריאת התגובה
        if (response.IsSuccessStatusCode)
        {
            var result = await response.Content.ReadAsStringAsync();
            return result;
        }
        else
        {
            return $"Error: {response.StatusCode}";
        }

Hey @devrr

Bill here from monday.com :wave:

Would you be able to please fill this form adding as much information as possible to it (such as account ID, board IDs, item IDs, timestamps, etc.) so that our team can take a look into it?

Cheers,
Bill