magento2 – Not able to get data through API get 404 error
Endpoints are working but still I can’t get the data. var self = this; taskService.getList().then(function (tasks){ self.tasks = tasks; return tasks; }); return this;
Auto Added by WPeMatico
Endpoints are working but still I can’t get the data. var self = this; taskService.getList().then(function (tasks){ self.tasks = tasks; return tasks; }); return this;
I’m trying to implement a Renderer for the Webapp, an addition to the existing ‘application/json’ and ‘application/xml’ renderers. Implementation of the RendererInterface: class CustomRender implements MagentoFrameworkWebapiRestResponseRendererInterface { /** * Render the data * * @param object|array|int|string|bool|float|null $data * @return string… Read More »How to parse or convert array to Magento classes in custom renderer webapi
I am trying to integrate my external API in my magento 2.4.6 instance. I Used Guzzlehttp to make and fetch the data and handle the request. The problem is, The api uses token based authentication system. My question is that… Read More »How to fetch and store external api access token in magento2
I have a custom extensible entity: interface that extends ExtensibleDataInterface with get and set; model that extends AbstractExtensibleModel with get and set; My GetList method from repository: /** * @param SearchCriteriaInterface $criteria * @return AskQuestionSearchResultsInterface */ public function getList(SearchCriteriaInterface $criteria)… Read More »Issue with custom extensible entity and getList method from repository
I have just upgraded my magento version from 2.4.0 to 2.4.6 and i am getting this issue on checkout shipping page and shiiping methods are not displaying. Error: Cannot instantiate interface MagentoReCaptchaWebapiApiApiWebapiValidationConfigProviderInterface in /home/websites/bollywoo/devbwuat.wddemo.net/public_html/vendor/magento/framework/ObjectManager/Factory/Dynamic/Developer.php:50 Stack trace: #0 /home/websites/hollywoo/dev/public_html/vendor/magento/framework/ObjectManager/ObjectManager.php(70): MagentoFrameworkObjectManagerFactoryDynamicDeveloper->create() #1… Read More »Error: Cannot instantiate interface MagentoReCaptchaWebapiApiApiWebapiValidationConfigProviderInterface
I’m trying a PUT on Magento 2 REST API through POSTMAN like this: https://domain/rest/V1/products/IP_X With only a price change on the json content. getting the following error message: { “message”: “”%fieldName” is required. Enter and try again.”, “parameters”: { “fieldName”:… Read More »MAGENTO 2 REST API: PUT through POSTMAN [Resolved]
I upgraded to 2.4.3-p2 from 2.4.3 and I am suddenly getting this error when call the rest/V1/customers/me api: “message”: “Internal Error. Details are available in Magento log file. Report ID: webapi-64636c25026c3”. The exception log shows this: “main.CRITICAL: Report ID: webapi-64636c25026c3;… Read More »Magento 2.4.3-p2 error with rest/V1/customers/me webapi
I do not know how to stop to create customers via REST API in magento 2. I have magento 2 instance in 2.4.0 version I found a below code in vendor/magento/module-customer/etc/webapi.xml path <route url=”/V1/customers” method=”POST”> <service class=”MagentoCustomerApiAccountManagementInterface” method=”createAccount”/> <resources> <resource… Read More »How to stop create customer via rest API in magento 2?
Magento 2.4.2-p2 Greetings, I’m interested in to get an admin token from the REST API when 2FA is enabled and as authentication provider U2F is used. I have a small application running on another server that modifies some Product attributes… Read More »How to get an admin token from REST API when 2FA is enabled and using U2F?
I made a custom attribute using this code in the Setup/Patch/Data, everything works just fine except when calling the API to get the customer object, it comes without the new custom attribute included, I made an extension_attribute.xml and a Plugin… Read More »How to include a custom attribute in the Customer object when calling through API