Error in UI Authoring in community edition

Cannot access User Interface tab in data object/ views etc.

I got this error after connecting a data object to an API I have since removed the data object connected to the API and even created a new application but the error remains.

This is the error message I get when clicking on the user interface tab.

Error in UI Authoring

Error: Call to fetch authoring records failed: AxiosError: Request failed with status code 401

@AlexanderN16749434

It seems the System might be thinking you have not been authorized to connect to the API. Please try this:

  • Run the Application in App Studio by selecting the Preview button.
  • Select the Bulk Update menu Item.
  • It will then Ask you to Authenticate with a Valid user with access rights to the API

It will take a few seconds to load the Data Grid after you authenticate.

  • Exit the Preview
  • Navigate to the Landing Pages Via App studio
  • All Landing Pages will be Drawn as Previews using ReactJS

Please also set the correct values for the DSS ConstellationSvcURL and ConstellationPegaStaticURL.

  • Clear out the DSS originally set,
  • Save
  • Refill it again
  • Save once more.

the DSS should be the url that the service is installed at, as described here:

8.6-8.7 Constellation UI static content service .
8.8 Constellation Pega UI static content delivery network (CDN) and customer application specific UI static content delivery service

After applying the above suggestion the client started seeing a prompt to login when already using SSO.

The dev service package need to be changed to Basic from OAuth2

Records → Integration-Resources → Service Package → Authentication type = OAuth2

You can refer below articles:

If reported issue is not resolved with above changes, please check the PegaRules log and Alert

Run the chrome developer tools network capture (HAR file), when you click on the User Interface tab of Data Object in App Studio .

As this is Community Edition, you may need to contact the Trials team for further support. Technical support via Community Edition FAQ – extension requests to [email protected]

@MarijeSchillern

Hi, I am not able to find the “Bulk Update menu item.” Where can I find it?

@MarijeSchillern Thanks it helped!!

@JiwonK16838398 I meant the Bulk Update for any data object you are trying to connect to an API.

To access the bulk actions feature for specific data objects go to the navigation pane of App Studio, click on ‘Data’, then select the data object you want to work with. On the ‘Records’ tab, you should see the ‘Bulk actions’ option, which allows you to perform bulk updates on the selected data object.

@MarijeSchillern Hi, I am facing a similar issue with the VM for PEGA 8.8.2.

The only difference is that I am getting error 403 instead of 401. It happens both before and after importing the Booking RAP (where the DSS are configured).

I’m not able to see Bulk actions from data objects, hence I cannot try to force the authentication.

Can you please advise me how to fix it?

EDIT: I was able to fix it by, as Marije pointed, by changing the Service packaged called “dev” to Basic and uncheck the “Require TLS/SSL” check box.

Regards,

Sergio.