You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
If using set_request_auth_value on a schema and having defined a data_relation to a schema that is not using any auth value,
a PATCH operation will fail with the follwoing error:
value 'XXX' must exist in resource 'YYY', field '_id'
POST works fine.
The only workaround is not to define any data_relation.
According to my research, the _filter variable contains the user_id in an $and condition when PATCH but not on POST.
Expected Behavior: 200 OK
Actual Behavior: 422 UNPROCESSABLE ENTITY
If using
set_request_auth_value
on a schema and having defined adata_relation
to a schema that is not using any auth value,a PATCH operation will fail with the follwoing error:
POST works fine.
The only workaround is not to define any data_relation.
According to my research, the
_filter
variable contains theuser_id
in an$and
condition when PATCH but not on POST.eve/eve/io/mongo/mongo.py
Line 335 in c629419
Environment
The text was updated successfully, but these errors were encountered: