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

Improve v1 > v2 error messages #241

Open
martinjbaker opened this issue Jul 3, 2019 · 0 comments
Open

Improve v1 > v2 error messages #241

martinjbaker opened this issue Jul 3, 2019 · 0 comments

Comments

@martinjbaker
Copy link

I just spent quite a few hours going around in circles because the error message is not helpful.

If you send a v1 "send email" request that has the data wrapped in "transmissionBody" to the v2+ module then the error given is

errors:
[ { message: 'required field is missing',
description: 'content object or template_id required',
code: '1400' } ],
statusCode: 422

To stop users screaming at the computer screen when they can see that "content" IS actually set, it would be more helpful if the module first identified that "transmissionBody" was at the top level of the data and posts an error that it is no longer required for v2.

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