Getting call was rejected when calling a function

i have a rust and internent computer project so i have a function which if i call it i get error call was rejected the function

fn load_wasm_chunk(wasm_hash: WasmHash, chunk: Blob) -> LoadRelease {
    let total = with_release_mut(&wasm_hash, |rs| {
        rs.load_wasm_chunk(&chunk).unwrap_or_else(revert)
    })
    .unwrap_or_else(revert);

    let chunks = chunk.len();

    LoadRelease { chunks, total }
}``` 
even commented out  #[update(guard = "caller_is_controller")]

Please specify

  1. How you are running the code
  2. The input
  3. The actual output
  4. Your expected output

This topic was automatically closed 90 days after the last reply. We invite you to open a new topic if you have further questions or comments.