magento / magento2

Prior to making any Submission(s), you must sign an Adobe Contributor License Agreement, available here at: https://opensource.adobe.com/cla.html. All Submissions you make to Adobe Inc. and its affiliates, assigns and subsidiaries (collectively “Adobe”) are subject to the terms of the Adobe Contributor License Agreement.
http://www.magento.com
Open Software License 3.0
11.57k stars 9.32k forks source link

Getting success message after sending invalid SKU for the inventory/source-items API #38154

Open webgility-amazonapi opened 1 year ago

webgility-amazonapi commented 1 year ago

Preconditions and environment

Also, the SKU used in the above request is not added to the store.

image

Steps to reproduce

• enter the data in the request body • send incorrect SKU Observe that API is giving 200 status code even the SKU is not existing on the particular store.

Expected result

It should give the error message for the incorrect SKU.

Actual result

API is sending 200 status code .

Additional information

No response

Release note

No response

Triage and priority

m2-assistant[bot] commented 1 year ago

Hi @webgility-amazonapi. Thank you for your report. To speed up processing of this issue, make sure that the issue is reproducible on the vanilla Magento instance following Steps to reproduce. To deploy vanilla Magento instance on our environment, Add a comment to the issue:

m2-assistant[bot] commented 1 year ago

Hi @engcom-Bravo. Thank you for working on this issue. In order to make sure that issue has enough information and ready for development, please read and check the following instruction: :point_down:

engcom-Bravo commented 1 year ago

@magento give me 2.4-develop instance

magento-deployment-service[bot] commented 1 year ago

Hi @engcom-Bravo. Thank you for your request. I'm working on Magento instance for you.

magento-deployment-service[bot] commented 1 year ago

Hi @engcom-Bravo, here is your Magento Instance: https://b00a45329bc5fdc540fb1bcb63a45f5e.instances-prod.magento-community.engineering Admin access: https://b00a45329bc5fdc540fb1bcb63a45f5e.instances-prod.magento-community.engineering/admin_af12 Login: 29232832 Password: c593053f6e1e

engcom-Bravo commented 1 year ago

Hi @webgility-amazonapi,

Thank you for reporting and collaboration.

Verified the issue on Magento 2.4-develop instance and the issue is reproducible.Kindly refer the screenshots.

Steps to reproduce

Screenshot 2023-11-08 at 12 06 52 PM

We are getting success message while sending invalid SKU.Since product is not there in that store it should give error but it is giving 200 OK response.

Hence Confirming the issue.

Thanks.

github-jira-sync-bot commented 1 year ago

:white_check_mark: Jira issue https://jira.corp.adobe.com/browse/AC-10523 is successfully created for this GitHub issue.

m2-assistant[bot] commented 1 year ago

:white_check_mark: Confirmed by @engcom-Bravo. Thank you for verifying the issue.
Issue Available: @engcom-Bravo, You will be automatically unassigned. Contributors/Maintainers can claim this issue to continue. To reclaim and continue work, reassign the ticket to yourself.

zia1177 commented 1 year ago

@magento I am working on this

m2-assistant[bot] commented 1 year ago

Hi @zia1177! :wave: Thank you for collaboration. Only members of Community Contributors Team are allowed to be assigned to the issue. Please use @magento add to contributors team command to join Contributors team.

zia1177 commented 1 year ago

@magento add to contributors team

m2-assistant[bot] commented 1 year ago

Hi @zia1177! :wave: Thank you for joining. Please accept team invitation :point_right: here :point_left: and add your comment one more time.

zia1177 commented 1 year ago

@magento I am working on this