[BUG] FormBuilder error: Uncaught (in promise) Missing projectId
See original GitHub issueEnvironment
Please provide as many details as you can:
- Hosting type
- [] Form.io
- [x ] Local deployment
- Version: N/A, custom backend
- Formio.js version: 4.13
- Frontend framework: React or vanilla JavaScript
- Browser: Google Chrome
- Browser version: Version 90.0.4430.93 (Official Build) (64-bit)
Steps to Reproduce
- Go to https://formio.github.io/formio.js/app/builder
- Open Google Chrome console
Expected behavior
No error in the console
Observed behavior
Error in the console:
builder:1 Uncaught (in promise) Missing projectId
Promise.then (async)
WebformBuilder @ WebformBuilder.js:382
create @ FormBuilder.js:82
setForm @ Form.js:253
Form @ Form.js:122
_createSuperInternal @ FormBuilder.js:50
FormBuilder @ FormBuilder.js:72
(anonymous) @ builder:137
We are getting the same error when rendering FormBuilder
from FormIO 4.13 in our app.
Before 4.13 version it was ok.
Example
Example is already present in the official FormBuilder demo page: https://formio.github.io/formio.js/app/builder
Is there any workaround for this error to not appear? Maybe some option to set, so the projectId
is not missing anymore?
Issue Analytics
- State:
- Created 2 years ago
- Reactions:8
- Comments:21 (6 by maintainers)
Top Results From Across the Web
formio/formio - Gitter
I have created a form from “form.io” where a field (Client, for example) is mandatory.I am not able to translate the error message...
Read more >formiojs | Yarn - Package Manager
FIO-3344: Add margin bottom to all components in builder mode; Fixed builder missing projectId promise rejection; Fixed tooltip not escaping double quotes ...
Read more >typeerror: cannot set properties of undefined (setting 'formgroup')
This error happened because your form values not valid. You are not maintaining proper formik state. I just tried this and checked, form...
Read more >sanity/client - npm.io
Works in node.js and modern browsers (older browsers need a Promise polyfill). ... client = sanityClient({ projectId: 'your-project-id', dataset: 'bikeshop' ...
Read more >Regression Bug - Release Notes - Liferay Issues
[AUI-1612] - Form builder textfield and textarea need width validators ... [AUI-1669] - Image Viewer Base throws error when no images or sources...
Read more >Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start FreeTop Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
Top GitHub Comments
Functionality is fine, but the error logging is annoying, particularly if you have browser logs getting shipped to a logging service.
@simonv3, let us know if you see the issue moving forward. Glad to hear that it is no longer occurring.