Add backend failure handling with :ok | :error so the uploader can handle it.