If you are using Magento 2.4.4 or later, the allow OAuth access tokens to be used as standalone bearer tokens option must be set to yes. To do this, follow the steps below.
Step 1 Log into your Magento admin console.
Step2 Select stores from the navigation menu:.
Step 3 Select the configuration option:
Step 4 Expand the services navigation option and select OAuth:
Step 5 Set the Allow OAuth Access Tokens to be used as standalone Bearer tokens option to yes: