{"data":{"id":"ACSD-54026","source":"qpt","sourceRef":"magento/quality-patches@1.1.84","title":"Fixes an incorrect error message for an updateCompanyRole GraphQL request for a non-authorized user.","categories":["GraphQL","B2B"],"components":["magento/module-company-graph-ql"],"origin":"adobe-commerce-support","documentation":{"url":"https://experienceleague.adobe.com/en/docs/commerce-operations/tools/quality-patches-tool/patches-available-in-qpt/v1-1-39/acsd-54026-incorrect-error-message-for-updatecompanyrole-graphql-request","path":"help/tools/quality-patches-tool/patches-available-in-qpt/v1-1-39/acsd-54026-incorrect-error-message-for-updatecompanyrole-graphql-request.md","blobSha":"04e226c25b4850cd49856518658957f346238cff","description":"Getting an incorrect error message for an updateCompanyRole GraphQL request for a non-authorized user.","stepsToReproduce":"1. Enable B2B company in configuration. 1. Create a company. 1. Send an updateCompanyRole GraphQL request without passing a bearer token or with an invalid bearer token. 1. Observe the error message in the GraphQL response.","introducedInQpt":"1.1.39","createdFor":["2.4.6"],"documentedRange":"2.4.6 - 2.4.6-p3","scheduledFixRelease":"2.4.7"},"files":[{"package":"magento/magento2-b2b-base","constraint":">=1.3.5 <1.3.6","path":"patches/commerce/ACSD-54026_1.3.5.patch","blobSha":"a95a3aa1809b1c8303654d02c3788a17bffd1ff1","url":"https://raw.githubusercontent.com/magento/quality-patches/11d565bdde197b9c7bac859a5698e99098b48457/patches/commerce/ACSD-54026_1.3.5.patch","thirdParty":false,"modifies":[{"path":"vendor/magento/module-company-graph-ql/Model/Resolver/UpdateCompanyRole.php","change":"modified","package":"magento/module-company-graph-ql"}],"packages":["magento/module-company-graph-ql"],"hasTests":false,"applicableVersions":{"magento-community":[],"magento-commerce":["2.4.6-p7","2.4.6-p6","2.4.6-p5","2.4.6-p4","2.4.6-p3","2.4.6-p2","2.4.6-p1","2.4.6"],"mage-os":[]},"unknownVersions":[],"requires":[],"replacedWith":null,"deprecated":false}],"applicableVersions":{"magento-community":[],"magento-commerce":["2.4.6-p7","2.4.6-p6","2.4.6-p5","2.4.6-p4","2.4.6-p3","2.4.6-p2","2.4.6-p1","2.4.6"],"mage-os":[]},"conditions":{"and":[{"type":"log","path":"var/log/exception.log","match":"GraphQlInputException(code: 0): Customer is not a company user. *vendor/magento/module-company-graph-ql/Model/Company/ResolverAccess.php"}]},"requirements":null},"_documentation":"https://magento.watch/api","_description":"Quality patch ACSD-54026 details"}