Uh oh!
There was an error while loading. Please reload this page.
Match the result codes table casing for ProjectHasNoApiAccess - #3352
Merged
Conversation
Closes#3349 Co-Authored-By: Claude Opus 5 (1M context) <noreply@anthropic.com>
adamtheturtletemporarily deployed
to
development
August 7, 2026 08:17 — with
GitHub Actions
Inactive
Closes#3349 Co-Authored-By: Claude Opus 5 (1M context) <noreply@anthropic.com>
This was referenced Aug 7, 2026
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for freeto join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Closes#3349.
The mock returned
ProjectHasNoAPIAccess, while Vuforia's result codes table spells itProjectHasNoApiAccess.Confirming the casing against a real database needs a project with no API access, which the verified-fake test setup does not create, and no observed response with either spelling could be found. The mock's spelling traced back to a hand-written 2019 doc list of unhandled result codes (edd6f91), never an observed body, so the result codes table is the better source. This changes the mock to match it.
ResultCodes.PROJECT_HAS_NO_API_ACCESSis nowProjectHasNoApiAccess.ProjectHasNoAPIAccessErrorvalidator exception is renamed toProjectHasNoApiAccessError.docs/source/differences-to-vws.rstrecords that the casing comes from the docs table rather than an observed response.vws-pythonandvws-cliboth map this result code by the old spelling, so they no longer recognize this response until they are updated; issues are filed for both. The mock's own test for this state now asserts the raw response instead of going throughvws-python, whosefrom_result_codewould raiseKeyErrorfor an unmapped code.🤖 Generated with Claude Code