Closed RoshanTekno closed 8 hours ago
Hi @RoshanTekno,
I cannot reproduce the behaviour as the curl request provided works for me:
curl 'https://mcprod.aemshop.net/graphql' \
-H 'sec-ch-ua-platform: "Windows"' \
-H 'Referer: https://main--aem-store-front--roshantekno.aem.page/' \
-H 'User-Agent: Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/131.0.0.0 Safari/537.36' \
-H 'sec-ch-ua: "Google Chrome";v="131", "Chromium";v="131", "Not_A Brand";v="24"' \
-H 'Content-Type: application/json' \
-H 'Store: default' \
-H 'sec-ch-ua-mobile: ?0' \
--data-raw '{"query":"mutation createCart { cartId: createEmptyCart }","variables":{}}'
{"data":{"cartId":"mtVTZqXJF55j1pg2tf79Zzdo6jHFAJi4"}}
Are you within a corporate network which has special TLS policies in place?
I was using it on a corporate network, and it started working after I added a VPN. Thanks for your response!
Title: Issue with "Add to Cart" functionality in Adobe Storefront Boilerplate:
ERR_CERT_AUTHORITY_INVALID
errorDescription: I'm using the Adobe Storefront Boilerplate with the default configuration provided. While fetching product details works as expected, I encounter an issue when clicking the "Add to Cart" button. Below are the details of the problem:
Steps to Reproduce:
Observed Behavior:
When attempting to add a product to the cart, the following error occurs:
Curl Request:
Here is the curl request used during the process:
Response:
The response to the curl request is:
Expected Behavior:
The "Add to Cart" functionality should work without any errors and return a valid response from the GraphQL endpoint.
Additional Context:
https://mcprod.aemshop.net/graphql
.Questions:
Environment:
Please advise on resolving this issue.