Gemini input validation errors

Sean Conner sean at conman.org
Fri Jan 29 10:03:15 GMT 2021


It was thus said that the Great Michael Lazar once stated:
> 
> I know it's blasphemy but a new error code could be really nice here.

  No it's not.  This is a real need that has come up from experience with
the protocol.  

> Something like
> 
> 54 INVALID INPUT
> Indicates that the query string contained a value that was not
> accepted by the server. The <meta> should be a human-readable
> error message that will be shown to the user. Sophisticated clients
> can display the error message along with re-prompting the user with
> the same input from the previous request.
> 
> Any thoughts or other ideas?

  I like it and agree that it should be adopted.

  -spc



More information about the Gemini mailing list