Skip to content

The consumer isn’t authorized to access %resources “resources”: “Magento_Sales::actions_view”

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” xsi:noNamespaceSchemaLocation=”urn:magento:module:Magento_Integration:etc/integration/api.xsd”> <integration name=”Test”> <resources> <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”/> </resources> </integration>… Read More »The consumer isn’t authorized to access %resources “resources”: “Magento_Sales::actions_view”

Magento 2 Reset Password Confirmation email templete link url not generate properly

Error Screenshot : https://i.imgur.com/SIAjq0C.png <!–@subject {{trans “Reset your %store_name password” store_name=$store.frontend_name}} @–> <!–@vars { “var store.frontend_name”:”Store Name”, “var customer.name”:”Customer Name”, “var this.getUrl($store,’customer/account/createPassword/’,[_query:[token:$customer.rp_token],_nosid:1])”:”Reset Password URL” } @–> {{template config_path=”design/email/header_template”}} <p class=”greeting”>{{trans “%name,” name=$customer.name}}</p> <p>{{trans “There was recently a request to change… Read More »Magento 2 Reset Password Confirmation email templete link url not generate properly

unable to access Magento 2.4.6 backend on a fresh install with sampledata

I’m unable to access the Magento 2.4.6 backend on a fresh install with sampledata I get this when I try to open the Magento Backend URL Error: Class “MagentoThemeSampleDataPluginViewPageConfig” not found in /bitnami/magento/vendor/magento/framework/ObjectManager/Factory/AbstractFactory.php:121? The frontend is working fine. any idea… Read More »unable to access Magento 2.4.6 backend on a fresh install with sampledata

check condition in foreach loop with dynamic variable in knockout js

I have html file at the path /var/www/html/nelson-avnet-app/code/vendor/module/view/frontend/web/template/shipping-address/list.html <!– ko if: (visible)–> <div class=”field addresses”> <div class=”control”> <input id=”query” type=”text” name=”query” data-bind=”textInput: query, valueUpdate: ‘afterkeydown’, event: { keyup: check }”/> <div class=”shipping-address-items”> <input type=”text” data-bind=”value: customTotal” /> <!– ko foreach:… Read More »check condition in foreach loop with dynamic variable in knockout js