Improve error messages for API usage
complete
Y
Young-Hwan Kim
As a Platform Engineer I build stuff to accelerate and improve our workflows.
One of the use cases is to automatically enable the meshTenant creation with restricted landing zones.
We received a error message which gave us a good time to search for the root cause:
The action you tried to perform on MeshTenantV3(apiVersion=v3, kind=meshTenant, ... ) is forbidden: It is not allowed to use a restricted landing zone.
It took a while to check that a API user permission was missing.
It would be helpful to get a hint what the most likely root cause is or where to check regarding this error message.
Jelle den Burger
marked this post as
complete
Thanks for reporting this improvement idea. We will release a hint for this particular error message in the next release. Please reach out again if you find other instances of confusing API Error messages. Thanks!