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
The Spree v4.4.0 API endpoint '/api/v2/storefront/cart/associate' returns a 500 error when a user requests the endpoint with a malformed request in the query.
Context
An authenticated user, when trying to query the endpoint '/api/v2/storefront/cart/associate' results in an internal server error due to an unpermitted parameter in an SQL query when using a malformed request:
The Spree v4.4.0 API endpoint '/api/v2/storefront/cart/associate' returns a 500 error when a user requests the endpoint with a malformed request in the query.
Context
An authenticated user, when trying to query the endpoint '/api/v2/storefront/cart/associate' results in an internal server error due to an unpermitted parameter in an SQL query when using a malformed request:
Expected Behavior
Returns 400 response as the request body is malformed.
Actual Behavior
Returns 500 response code from an internal server error.
Steps to Reproduce
Your Environment
The text was updated successfully, but these errors were encountered: