So, I’m just starting to look at the new Pages feature and I think I might have a configuration issue. I hope
When I create a page, I get no errors, but after creating it there are no pages, just a icon with ‘No Data’ under it.
Looking at the pages folder in my repository, all the test names I created pages with have actually been created.
An excerpt from the log is here:
2021-10-01T08:26:46.5177160-03:00 0HMBVI1PTQ9PU:00000007 [INF] Request origin "http://localhost:5000" does not have permission to access the resource. (a03d560b)
2021-10-01T08:26:46.5193459-03:00 0HMBVI1PTQ9PU:00000007 [INF] Authorization was successful. (0d575a54)
2021-10-01T08:26:46.5193792-03:00 0HMBVI1PTQ9PU:00000007 [INF] Executing endpoint '"UniversalAutomation.PageController.Post (Universal.Server)"' (500cc934)
2021-10-01T08:26:46.5194640-03:00 0HMBVI1PTQ9PU:00000007 [INF] Route matched with "{action = \"Post\", controller = \"Page\"}". Executing controller action with signature "System.Threading.Tasks.Task`1[PowerShellUniversal.Page] Post()" on controller "UniversalAutomation.PageController" ("Universal.Server"). (122b2fdf)
2021-10-01T08:26:46.7562179-03:00 0HMBVI1PTQ9PU:00000007 [INF] Executing "ObjectResult", writing value of type '"PowerShellUniversal.Page"'. (605b4265)
2021-10-01T08:26:46.7566022-03:00 0HMBVI1PTQ9PU:00000007 [INF] Executed action "UniversalAutomation.PageController.Post (Universal.Server)" in 237.0576ms (afa2e885)
2021-10-01T08:26:46.7566429-03:00 0HMBVI1PTQ9PU:00000007 [INF] Executed endpoint '"UniversalAutomation.PageController.Post (Universal.Server)"' (99874f2b)
2021-10-01T08:26:46.7570027-03:00 0HMBVI1PTQ9PU:00000007 [INF] Request finished HTTP/1.1 POST http://localhost:5000/api/v1/page application/json;charset=UTF-8 70 - 200 - application/json;+charset=utf-8 250.2388ms (791a596a)
2021-10-01T08:26:46.7667586-03:00 0HMBVI1PTQ9PU:00000008 [INF] Request starting HTTP/1.1 GET http://localhost:5000/api/v1/page - - (ca22a1cb)
2021-10-01T08:26:46.7684385-03:00 0HMBVI1PTQ9PU:00000008 [INF] Executing endpoint '"UniversalAutomation.PageController.Get (Universal.Server)"' (500cc934)
2021-10-01T08:26:46.7685536-03:00 0HMBVI1PTQ9PU:00000008 [INF] Route matched with "{action = \"Get\", controller = \"Page\"}". Executing controller action with signature "Microsoft.AspNetCore.Mvc.IActionResult Get()" on controller "UniversalAutomation.PageController" ("Universal.Server"). (122b2fdf)
2021-10-01T08:26:46.7771665-03:00 0HMBVI1PTQ9PU:00000008 [INF] Executing ContentResult with HTTP Response ContentType of "application/json" (7ec2a4e9)
2021-10-01T08:26:46.7774474-03:00 0HMBVI1PTQ9PU:00000008 [INF] Executed action "UniversalAutomation.PageController.Get (Universal.Server)" in 8.7861ms (afa2e885)
2021-10-01T08:26:46.7775013-03:00 0HMBVI1PTQ9PU:00000008 [INF] Executed endpoint '"UniversalAutomation.PageController.Get (Universal.Server)"' (99874f2b)
2021-10-01T08:26:46.7776216-03:00 0HMBVI1PTQ9PU:00000008 [INF] Request finished HTTP/1.1 GET http://localhost:5000/api/v1/page - - - 200 - application/json 10.9116ms (791a596a)
2021-10-01T08:26:46.7990661-03:00 0HMBVI1PTQ9PU:00000009 [INF] Request starting HTTP/1.1 GET http://localhost:5000/api/v1/role - - (ca22a1cb)
2021-10-01T08:26:46.8010570-03:00 0HMBVI1PTQ9PU:00000009 [INF] Authorization failed. "These requirements were not met:
Product: PowerShell Universal
Version: 2.3.1