magento / magento/inventory

"{\"message\":\"Maximum items of type \\\"%type\\\" is %max\",\"parameters\":{\"type\":\"\\\\Magento\\\\InventoryApi\\\\Api\\\\Data\\\\SourceItemInterface\",\"max\":20}}"

Open
#3,334 0 comments 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

Progress: ready for grooming
Dominant language
PHP
Stars
357
Forks
262
PR merge metrics
No merged PRs in 30d

Description

A Celigo flow has been running to update inventory and out of nowhere today, it keeps throwing the below error:

Error code: 400
Relative URI: V1/inventory/source-items

"{\"message\":\"Maximum items of type \\\"%type\\\" is %max\",\"parameters\":{\"type\":\"\\\\Magento\\\\InventoryApi\\\\Api\\\\Data\\\\SourceItemInterface\",\"max\":20}}"

Payload:
{
"id": "125",
"recordType": "inventoryitem",
"SKU": "XXXX",
"Quantity": "234",
"Is In Stock": "1",
"ItemId": "3447",
"source_code": "default"
}

Any thoughts on how I can eliminate this error?

Thanks!

Contributor guide

Open the contributing guide

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

Research direction

The only entry point named is V1/inventory/source-items; start by locating its request handling and reproducing the supplied payload. The issue does not name a file or test, and completion criteria are not defined beyond eliminating the reported 400 error.

Written by the indexing model from the issue text.

Assessment

Tech stack
php
Domain
api, backend
Issue type
Bug
Difficulty
5/5
Estimated time
Over a week
Activity status
Stale
Clarity
Needs clarification
Newbie friendliness
15/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.