SharePoint / SharePoint/sp-dev-docs

Form Customizer - blank form is displayed with a console error

Open
#10,347 6 comments 1 reaction 1 assignee View on GitHub

@Amey-MSFT is already working on this.

Since Jul 28, 2025.

area:spfx Needs: Author Feedback type:bug-confirmed
Dominant language
PowerShell
Stars
1.4k
Forks
1.1k
Avg merge
4d 12h
Merged PRs (30d)
12

Description

Target SharePoint environment

SharePoint Online

What SharePoint development model, framework, SDK or API is this about?

💥 SharePoint Framework

Developer environment

None

What browser(s) / client(s) have you tested
  • 💥 Internet Explorer
  • 💥 Microsoft Edge
  • 💥 Google Chrome
  • 💥 FireFox
  • 💥 Safari
  • mobile (iOS/iPadOS)
  • mobile (Android)
  • not applicable
  • other (enter in the "Additional environment details" area below)
Additional environment details

No response

Describe the bug / error

We have a FormCustomizer, but I don't know whether or not that is causing this issue.

  1. Form is launched via this link. Notice it is in the QualityPlans site. https://contoso.sharepoint.com/sites/QualityPlans/_layouts/15/listform.aspx?PageType=4&ListId=20150891-6368-4565-b788-e7ce025c0fc8&ID=4850&RootFolder=*&env=WebViewList&loadFormWithNucleus=1

  2. It redirects to the SPListForm.aspx page (I guess as expected):
    https://contoso.sharepoint.com/sites/QualityPlans/_layouts/15/SPListForm.aspx?PageType=4&List=20150891%2D6368%2D4565%2Db788%2De7ce025c0fc8&ID=4093&RootFolder=%2A&env=WebViewList&loadFormWithNucleus=1&Web=fdea8ca4%2Ddcd9%2D4a46%2Db97d%2Da64b990b7b54

  3. An endless 'loading' icon is displayed in the middle of the page:

Image
  1. In the console logs, this error is shown:
    Error: Script error for /_layouts/15/2057/strings.js. Script error for "/_layouts/15/2057/strings.js" https://requirejs.org/docs/errors.html#scripterror
Image
  1. Note that the locale ID is 2057. This is correct and "English - UK" is the site language for both the /QualityPlans site and the root site.

  2. The /_layouts/15/2057/strings.js script does not exist in the root site, but /_layouts/15/1033/strings.js does exist.

Steps to reproduce

We have not been able to reproduce this on any other site.

Expected behavior

Form should load without a failure to load the /scripts.js file.

Contributor guide

Open the contributing guide

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.