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

Debugging new record creation #27

Open
OlivierKamers opened this issue Jul 6, 2020 · 1 comment
Open

Debugging new record creation #27

OlivierKamers opened this issue Jul 6, 2020 · 1 comment

Comments

@OlivierKamers
Copy link

Hi,

When trying to create new records we are getting error 422's. According to the documentation the response in that case contains validation errors:

The following properties must be included in order to create/update a record object in our system. Any validation errors will return a 422 and an object with a list of validation errors.

Because the errors are wrapped inside the fetcher we only see an error with message "HTTP 422".
Is there a suggested way of debugging what we're doing wrong?

@OlivierKamers
Copy link
Author

I'm able to work around it by cloning this repository, adding some logs and using that custom build with yarn link.

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