DioxusLabs/dioxus · error

Non web wasm32 clients are not supported yet

Error message

Non web wasm32 clients are not supported yet

What it means

Multipart request serialization reached a wasm32 target that is not the browser (e.g. wasm-bindgen-less wasm). Only native and web-wasm multipart paths are implemented; other wasm environments hit the unimplemented branch of into_request.

Solutions

  1. Multipart clients are only supported on web wasm32 and native targets. Run this code on a supported target.
Defensive patterns

Strategy: validation

When it happens

Trigger: Thrown at packages/fullstack/src/payloads/multipart.rs:105 when the library encounters an invalid state.

Common situations: See trigger scenarios.


AI-assisted analysis of DioxusLabs/dioxus@24f6a829df (2026-08-23). Data as JSON: /api/errors/7b2b57009ae6f661. Report an issue: GitHub.

Appendix: source

Thrown at packages/fullstack/src/payloads/multipart.rs:105

                let js_form_data = get_form_data(data).ok_or_else(|| {
                    RequestError::Builder("Failed to get FormData from event".into())
                })?;

                return _req.send_js_value(js_form_data).await;
            }

            // On non-web platforms, we actually need to read the values out of the FormData
            // and construct a multipart form body manually.
            #[cfg(not(target_arch = "wasm32"))]
            {
                let data = self._client.clone().ok_or_else(|| {
                    RequestError::Builder("Failed to get FormData from event".into())
                })?;

                return _req.send_multipart(&data).await;
            }

            unimplemented!("Non web wasm32 clients are not supported yet")
        }
    }
}
impl<S: Send + Sync + 'static, D> FromRequest<S> for MultipartFormData<D> {
    type Rejection = Response;

    #[doc = " Perform the extraction."]
    fn from_request(
        req: Request,
        state: &S,
    ) -> impl Future<Output = Result<Self, Self::Rejection>> + Send {
        #[cfg(feature = "server")]
        return async move {
            let form = axum::extract::multipart::Multipart::from_request(req, state)
                .await
                .map_err(|err| err.into_response())?;

            Ok(MultipartFormData {

View on GitHub (pinned to 24f6a829df)