Refused to set unsafe header "User-Agent" error loop in lightning app builder

  • 1
  • Problem
  • Updated 11 months ago
  • Solved
I have a simple page that is displaying a table of accounts. When previewing the page or loading as a standalone VF page, I have no issues. When accessing the page through a lightning tab where the page is loaded as a lightning app page, I am getting a console error for every picklist field and every record but only when RecordTypeId is added as a field in the model.

This is causing the page to load very slowly as all of the errors compile. Once the errors finish, the page loads.

If I remove the picklist fields from the table, the errors stop. If I remove RecordTypeId from the model, they also stop. 

Photo of Craig Rosenbaum

Craig Rosenbaum

  • 4,776 Points 4k badge 2x thumb

Posted 1 year ago

  • 1
Photo of Stephen Sells

Stephen Sells, Official Rep

  • 16,856 Points 10k badge 2x thumb
Official Response
Thank you again for bringing this to our attention. Skuid has implemented the solution in the new Miller 11.0.0 release which is now available on the Skuid Releases page.

As a reminder, Salesforce does NOT allow reverting back to prior versions of managed packages. Skuid always recommends installing new versions in a non-business critical sandbox environment to test all mission critical functionality before installing into a production environment. We also recommend that you update out of date themes when you upgrade.