I am trying to rebuild all my Indexes after the Sitecore commerce 9.0.2 setup but the rebuild failed with error as below
The logs I found from the CommerceAuthoring_sc9 says
4 00:44:26 ERROR SitecoreConnectionManager: RETRY 1 out of 3 with ERROR Forbidden from GET /sitecore/api/ssc/item/?path=%2Fsitecore%2FCommerce%2FCommerce%20Control%20Panel%2FCommerce%20Engine%20Settings%2FCommerce%20Terms%2FBusinessTools%2FViewNames&database=master&language=en 13 00:44:27 ERROR SitecoreConnectionManager: RETRY 1 out of 3 with ERROR Forbidden from GET /sitecore/api/ssc/item/?path=%2Fsitecore%2FCommerce%2FCommerce%20Control%20Panel%2FCommerce%20Engine%20Settings%2FCommerce%20Terms%2FBusinessTools%2FViewNames&database=master&language=en 40 00:44:27 ERROR SitecoreConnectionManager: RETRY 1 out of 3 with ERROR Forbidden from GET /sitecore/api/ssc/item/?path=%2Fsitecore%2FCommerce%2FCommerce%20Control%20Panel%2FCommerce%20Engine%20Settings%2FCommerce%20Terms%2FBusinessTools%2FViewPropertyNames&database=master&language=en 40 00:44:27 ERROR SitecoreConnectionManager: RETRY 1 out of 3 with ERROR Forbidden from GET /sitecore/api/ssc/item/38f71d79-c476-4a2d-8361-6920615164c6/children?database=master&language=en 40 00:44:27 ERROR SitecoreConnectionManager: RETRY 2 out of 3 with ERROR Forbidden from GET /sitecore/api/ssc/item/?path=%2Fsitecore%2FCommerce%2FCommerce%20Control%20Panel%2FCommerce%20Engine%20Settings%2FCommerce%20Terms%2FBusinessTools%2FViewPropertyNames&database=master&language=en 13 00:44:28 ERROR SitecoreConnectionManager: RETRY 1 out of 3 with ERROR Forbidden from GET /sitecore/api/ssc/item/7d2ff1d9-4997-4356-9b42-7900840bdba3/children?database=master&language=en 13 00:44:30 ERROR SitecoreConnectionManager: RETRY 1 out of 3 with ERROR Forbidden from GET /sitecore/api/ssc/item/?path=%2Fsitecore%2FCommerce%2FCommerce%20Control%20Panel%2FCommerce%20Engine%20Settings%2FCommerce%20Terms%2FBusinessTools%2FViewPropertyNames&database=master&language=en 13 00:44:30 ERROR SitecoreConnectionManager: RETRY 2 out of 3 with ERROR Forbidden from GET /sitecore/api/ssc/item/?path=%2Fsitecore%2FCommerce%2FCommerce%20Control%20Panel%2FCommerce%20Engine%20Settings%2FCommerce%20Terms%2FBusinessTools%2FViewPropertyNames&database=master&language=en 13 00:44:30 ERROR SitecoreConnectionManager: RETRY 1 out of 3 with ERROR Forbidden from GET /sitecore/api/ssc/item/7d2ff1d9-4997-4356-9b42-7900840bdba3/children?database=master&language=en 4 01:24:08 ERROR SitecoreConnectionManager: RETRY 1 out of 3 with ERROR Forbidden from GET /sitecore/api/ssc/item/?path=%2Fsitecore%2FCommerce%2FCommerce%20Control%20Panel%2FCommerce%20Engine%20Settings%2FCommerce%20Terms%2FSystem%20Messages&database=master&language=en 3 01:54:11 ERROR Connection id ""0HLG41VNKRDHC"", Request id ""0HLG41VNKRDHC:00000002"": An unhandled exception was thrown by the application. System.NullReferenceException: Object reference not set to an instance of an object. at Sitecore.Commerce.Plugin.Views.ApiController.d__1.MoveNext()
I have also tried to fix this with the help of Ryanblog https://blog.ryanbailey.co.nz/2018/08/sitecore-experience-commerce-index.html but this also did not helped.