
Hi,
I am getting below error in development environment on calling page mock data:
I have updated UserContext - Token, Username, CustomerAccountNumber, etc. in page mock as per microsoft documentation https://docs.microsoft.com/en-us/dynamics365/commerce/e-commerce-extensibility/test-page-mock#simulate-the-signed-in-state
But still getting the user exception error.
Also in console, the API url showing empty string like retail-server/Commerce/Customers('')?api-version=7.3. It should pass Account Number which is added in page mock data.
Please help me if anyone had same issue or know any solution regarding this.
Thanks,
Komal Humane
Hi partner,
Please have a look at this document and check if it helps: