In a magento 2.4.6 installation I have created the below api.xml which has created a new integration which I activated.

<?xml version="1.0"?>
<integrations xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
    <integration name="Test">
            <resource name="Magento_Sales::sales"/>
            <resource name="Magento_Sales::sales_operation"/>
            <resource name="Magento_Sales::actions"/>
            <resource name="Magento_Sales::sales_order"/>    
            <resource name="Magento_Sales::actions_view"/>

When I try to GET to /rest/V1/orders with the access token I get subject error

Many thanks for any help

1 Answer 1


Did you check in Stores > Configuration > Services > OAuth > Consumer Settings if Allow OAuth Access Tokens to be used as standalone Bearer tokens is set to yes?enter image description here

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge that you have read and understand our privacy policy and code of conduct.

Not the answer you're looking for? Browse other questions tagged or ask your own question.