Skip to main content

All Questions

Filter by
Sorted by
Tagged with
1 vote
4 answers
10k views

Magento 2: Type Error occurred when creating object

I had created a custom API for adding new customer in Magento 2.3. I had injected dependency injection and passed the method to create the customer account. But it gives me below error: main....
IntraPersonalLearner's user avatar
0 votes
1 answer
294 views

Magento 2 : Rest API error the requested URL returned error: 401

We have to test rest API is working or not in magento 2.3 but on my local project work only live site API not working. We have to check site open or not using curl but it's not working. I am not able ...
Devidas's user avatar
  • 3,378
0 votes
1 answer
1k views

Magento 2.3.2 Rest API Showing 401 Authorization Required

I am trying to use the Magento 2.3 Rest API, using token authorization. when I try to GET data back from one of the endpoints using the token in an Authorization Bearer heading, I get an HTTP 401 ...
Devidas's user avatar
  • 3,378
1 vote
1 answer
685 views

Payment information API returns 400 error

Link http://protectcovers.ga/rest/store_view_eu/V1/guest-carts/ddukH6HL2TlFsm9WkJmOkMDSqmkiUfbW/payment-information I tried to send the next json: { "cartId": "ddukH6HL2TlFsm9WkJmOkMDSqmkiUfbW", ...
Ashen One's user avatar
  • 433