You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Currently most of the keys [PauseKey, AdminKey, KycKey ..] have appropriate response codes.
But an Account's Key set during a cryptoCreate / cryptoUpdate doest have one and we are are reusing BAD_ENCODING as the response for this.
solution
Use response code INVALID_ADMIN_KEY to be more meaningful in the above case and add notes in HAPI that an Admin key on the account is it's key.
The text was updated successfully, but these errors were encountered:
Currently most of the keys [PauseKey, AdminKey, KycKey ..] have appropriate response codes.
But an Account's Key set during a cryptoCreate / cryptoUpdate doest have one and we are are reusing
BAD_ENCODING
as the response for this.solution
Use response code
INVALID_ADMIN_KEY
to be more meaningful in the above case and add notes in HAPI that an Admin key on the account is it's key.The text was updated successfully, but these errors were encountered: