function readOnly(count){ }
Starting November 20, the site will be set to read-only. On December 4, 2023,
forum discussions will move to the Trailblazer Community.
+ Start a Discussion
Gabe SzekelyGabe Szekely 

PropertyType cannot be specified for flexipages of type UTILITY_BAR.

I am trying to add an item to our Utility Bar and I am seeing the following error:

There was an error saving the page: PropertyType cannot be specified for flexipages of type UTILITY_BAR.

I tried adding various different component types but no matter what I try to add I see the same error. 

Similar issue as - https://salesforce.stackexchange.com/questions/396841/lightning-web-component-fails-when-added-to-utility-bar

Gabe SzekelyGabe Szekely
Follow up - I actually can't make any change to the Utility Bar, including changing it's alignment. No matter what i try to do, I get this same error. 
VinayVinay (Salesforce Developers) 
Hi Gabe,

Can you re-check on steps to add lwc to utility bar.

https://niksdeveloper.com/salesforce/lightning-web-components-in-utility-bar/#:~:text=Go%20to%20App%20Manager%20from,title%20of%20our%20lighting%2Dcard.
https://help.salesforce.com/s/articleView?id=release-notes.rn_console_lwc_utility.htm&release=218&type=5

Snippet:
 
<?xml version="1.0" encoding="UTF-8"?>
<LightningComponentBundle xmlns="http://soap.sforce.com/2006/04/metadata">
  <apiVersion>47.0</apiVersion>
  <isExposed>true</isExposed>
  <masterLabel>Test Demo Label>
  <targets>
      <target>lightning__UtilityBar</target>
  </targets>
</LightningComponentBundle>

Please mark as Best Answer if above information was helpful.

Thanks,
Peter Noges 22Peter Noges 22
Hi Gabe,  I see the same error (in my scenario i cannot remove or add custom aura components to the utility bar in Lightning Service Console app)   Did anybody find a solution? 
Sreelakshmi AsokanSreelakshmi Asokan

Hi Peter,

Did you find any solution for this?

Peter Noges 22Peter Noges 22
Yes. After clearing the browser application /storage cache the error went away Get Outlook for iOS
Sreelakshmi AsokanSreelakshmi Asokan

Its not working for me. Do you have any other suggestions?

Peter Noges 22Peter Noges 22
Hi Sreelakshmi, have you tried making the change while in an incognito browser? That might also work
Sreelakshmi AsokanSreelakshmi Asokan

Hi Peter,

That also was not working..But it worked when I removed all utility items and added everything from scratch.

Thanks:)