Skip to content

Malformed request body or parameters cause "Internal Server Error" #31551

Open
@iasthc

Description

@iasthc

Preconditions (*)

  1. Magento CLI 2.4.1
  2. Magento/2.4 (Community)
  3. Magento 2.4-develop

Steps to reproduce (*)

  1. [POST] /V1/address/cleanse
    • Body: application/json {"address": "", "scopeType": "" }
  2. [PUT] /V1/customers/me
    • Body: application/json {"customer":""}
  3. [PUT] /V1/configurable-products/variation
    • Body: application/json {"options":"","product":""}
  4. [POST] /V1/customers/resetPassword
    • Body: application/json {"email":"","resetToken":"","newPassword":""}
  5. [POST] /V1/inventory/source-selection-algorithm-result
    • Body: application/json {"inventoryRequest":"","algorithmCode":""}
  6. [GET] /V1/inventory/is-product-salable-for-requested-qty/{sku}/{stockId}/{requestedQty}
    • Parameters: sku=1, stockId=1, requestedQty=1
  7. [GET] /V1/search?searchCriteria[requestName]=1
    • Parameter: searchCriteria[requestName]=1
  8. [GET] V1/customers/search?searchCriteria[filterGroups][0][filters][0][field]=1
    • Parameter: searchCriteria[filterGroups][0][filters][0][field]=1

Expected result (*)

  1. 400 Bad Request
  2. 400 Bad Request
  3. 400 Bad Request
  4. 400 Bad Request
  5. 400 Bad Request
  6. 404 Not Found
  7. 404 Not Found
  8. 404 Not Found

Actual result (*)

  1. 500 Internal Server Error
    • image
  2. 500 Internal Server Error
    • image
  3. 500 Internal Server Error
    • image
  4. 500 Internal Server Error
    • image
  5. 500 Internal Server Error
    • image
  6. 500 Internal Server Error
    • image
  7. 500 Internal Server Error
    • image
  8. 500 Internal Server Error
    • image

Please provide Severity assessment for the Issue as Reporter. This information will help during Confirmation and Issue triage processes.

  • Severity: S0 - Affects critical data or functionality and leaves users without workaround.
  • Severity: S1 - Affects critical data or functionality and forces users to employ a workaround.
  • Severity: S2 - Affects non-critical data or functionality and forces users to employ a workaround.
  • Severity: S3 - Affects non-critical data or functionality and does not force users to employ a workaround.
  • Severity: S4 - Affects aesthetics, professional look and feel, “quality” or “usability”.

Metadata

Metadata

Labels

ApiArea: APIsComponent: ApiUse with concrete module component label E.g. "Component: Api" + "Catalog"Issue: ConfirmedGate 3 Passed. Manual verification of the issue completed. Issue is confirmedIssue: ready for confirmationPriority: P3May be fixed according to the position in the backlog.Progress: dev in progressReported on 2.4.1Indicates original Magento version for the Issue report.Reproduced on 2.4.xThe issue has been reproduced on latest 2.4-develop branchSeverity: S3Affects non-critical data or functionality and does not force users to employ a workaround.

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions