fix: update error messages and scope checks
What does this merge request do and why?
There were some outdated error messages plus wrong access (too much access) for user JWTs, so we fixed the error messages and narrowed down the scope to v2 completions only.
How to set up and validate locally
Numbered steps to set up and validate the change are strongly suggested.
Merge request checklist
-
Tests added for new functionality. If not, please raise an issue to follow up. -
Documentation added/updated, if needed.
Closes #501 (closed)
Edited by Shinya Maeda