The new error should follow this format:
"code": "invalid-value", "message": "Invalid value at '{json-pointer}'", "context": { "path": "{json-pointer}" }
Note: remember to check if the OAS needs updating as well.
The new error should follow this format:
"code": "invalid-value", "message": "Invalid value at '{json-pointer}'", "context": { "path": "{json-pointer}" }
Note: remember to check if the OAS needs updating as well.
Subject | Repo | Branch | Lines +/- | |
---|---|---|---|---|
REST: Replace `invalid-site-id` with `invalid-value` | mediawiki/extensions/Wikibase | master | +9 -39 |
Status | Subtype | Assigned | Task | ||
---|---|---|---|---|---|
Resolved | Ifrahkhanyaree_WMDE | T366181 🚫 [Generalised error] invalid-value in request body | |||
Resolved | Muhammad_Yasser_Jazirahly_WMDE | T369063 🚫 Replace `invalid-site-id` errors with generic `invalid-value` error |
Change #1052418 had a related patch set uploaded (by Muhammad Jaziraly; author: Muhammad Jaziraly):
[mediawiki/extensions/Wikibase@master] REST: Replace `invalid-site-id` with `invalid-value`
Change #1052418 merged by jenkins-bot:
[mediawiki/extensions/Wikibase@master] REST: Replace `invalid-site-id` with `invalid-value`