Closed denisvmedia closed 9 months ago
@denisvmedia did you managed to solve it? We are facing the same problem.
@papppeter honestly, I don't remember now. But most likely not. Unfortunately, this project seems to be rather dead than alive.
@alanpoulain do you have maybe any suggestion here? it would be really nice to see if this package is still alive?
Or is there any other hydra data provider to react admin on github to use?
Please, maybe someone fix this issue ?
Merge request still not is repository :(
Thanks!
API Platform version(s) affected: 3.4.3
Description
I'm trying to submit a form that returns validation errors. The errors are properly highlighted in the form, but the main message says "Server communication error" (which is confusing).
Hydra response has proper fields set:
How to reproduce
Just use Hydra and submit a form with a server-side validation failure.
Possible Solution
I think,
hydra:title
(and maybehydra:description
) should be used instead ofServer communication error
message. And in general, 4xx statuses are probably not server communication errors.Additional Context
This can be also seen on the official Admin demo: