I started a new alloy project added the Service API and Commerce package, updated Startup.cs to use
Just to make sure I have added UserGroup "WebAdmin" to the Episerver service api Read/Write permission in the Admin.
I can get the token but 404 on
tried both adding and removing
<add key="episerver:serviceapi:maphttpattributeroutes" value="false" />
Just to be sure, did you install Episerver.ServiceAPI.Commerce?
Yes, I did install Episerver.ServiceAPI.Commerce.
this should be true, not false.
I changed the value to true. Still no luck.
Server Error in '/' Application.
The resource cannot be found.
Description: HTTP 404. The resource you are looking for (or one of its dependencies) could have been removed, had its name changed, or is temporarily unavailable. Please review the following URL and make sure that it is spelled correctly.
Requested URL: /episerverapi/commerce/catalogs
Does it work with other resources? or all resources are not working?
all not working. I installed Episerver.Commerce, do I need something more?
Update: I created a new project again and added Episerver.Commerce.UI.ManagerIntegration. With that it worked. So I thought that was the missing element and added the package to the old project but it still didn't work.
Not sure if I should consider this as solved???
That should have nothing to do with ServiceApi
I don't think I did anything else than that difference. Since it works for now, I think I'll set it as solved unless I find myself in same situation in the future.
Or if there is something I should consider to make that work, please let me know :).