## TL;DR

Upgrade the docker service too: docker pull marqoai/marqo:latest with --gpus all on GPU machines, then recreate the index. [ILidzhade (reporter)]: The MarqoWebError 422s came from the server running an old Marqo version while the client was upgraded.

## Steps

1. [ILidzhade (reporter)]: The MarqoWebError 422s came from the server running an old Marqo version while the client was upgraded. Upgrade the docker service too: docker pull marqoai/marqo:latest with --gpus all on GPU machines, then recreate the index. The reporter confirmed everything works after that.

## When to use

You are seeing this: The reporter confirmed everything works after that. Use this skill when you run into "[BUG] Weighted queires - dict not an accepted query type".

## When not to use

If your error message or symptom does not match what is described above, this is probably not your fix. Search for your exact error text instead of forcing this one to fit.

## Versions

Versions mentioned in the source: dochttpsdocs.marqo.ai 0.0.16. If you are on something much newer or older, the details may have shifted.

## Why this happens

The original report does not dig into a root cause. It documents the symptom and the fix that resolved it.

## Sources

- https://docs.marqo.ai/0.0.16/API-Reference/search/
