Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Providing hints to the user of errors on their part #4

Open
jamietanna opened this issue Oct 21, 2020 · 0 comments
Open

Providing hints to the user of errors on their part #4

jamietanna opened this issue Oct 21, 2020 · 0 comments

Comments

@jamietanna
Copy link

Re-sharing w3c#122

The other day I was planning on raising a bug with several of the Micropub clients I use to report that they do not replay error messages to the user, i.e. to let them know that something they've sent may be invalid.

In the Error Response section, we describe the error_description key in the response (emphasis mine):

The response body MAY also contain an error_description property with a human-readable description of the error message, used to assist the client developer in understanding the error. This is not meant to be shown to the end user.

I have taken care within my Micropub server to populate this field with information that may help diagnose why things have been rejected i.e. the Micropub client / user has submitted something that fails validation my server requires.

If we do not expect the error_description to be shown to the user, do we have any recommended solutions for improving the UX of errors within the Micropub world, to hint to the user if there is something they can resolve on their side?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant