How to Fix Document Upload Error: Cannot Find Variable BigInt
Question details
Users are unable to complete document uploads to a client server because the web page returns a JavaScript error stating "Cannot find variable: BigInt."
- Product
- Web Browser / Upload Portal
- Device & OS
- not provided
- Scenario
- Attempting to upload a document file to a client web server or application portal.
- Observed behavior
- The upload process fails to complete, and the client environment displays the JavaScript error message "Cannot find variable: BigInt."
Ensure that your internet connection is stable and verify if your current web browser has any pending software updates before attempting the upload again.
Update Your Browser and Clear Cache
Use this solution to ensure your browser supports modern JavaScript features like BigInt and to remove any corrupted temporary files causing the upload failure.
The "BigInt" variable is a modern JavaScript feature. If your browser is outdated, it will not recognize this code, causing the upload page to break. Updating your browser and clearing outdated cached scripts usually resolves this issue.
Navigate to your browser's settings menu (usually found by clicking the three dots in the top right corner), select 'Help', and click 'About [Browser Name]'. The browser will automatically check for and install the latest updates.
Press Ctrl + Shift + Delete (Windows) or Cmd + Shift + Delete (Mac) to open the 'Clear browsing data' menu. Select 'Cookies and other site data' and 'Cached images and files', then click 'Clear data'.
Close your browser completely, reopen it, navigate back to the client server portal, and attempt the document upload again.
Test Using an Alternative Browser or Private Mode
Try this if updating your primary browser does not work, as browser extensions or specific browser engines might interfere with the upload script.
Contact the Server Administrator
If the issue happens across all modern browsers and devices, the problem lies within the client server's code, and you need to report it.
Bypass Web Upload Errors with WPS Cloud Sharing
Instead of struggling with buggy web portals and JavaScript errors, use WPS Office to create your documents and instantly generate a secure sharing link via WPS Cloud.
- 1. Open your document in WPS Office: Launch WPS Office and open the file you originally intended to upload.
- 2. Save to WPS Cloud: Click 'Save As' and select 'WPS Cloud' to securely back up your document online.
- 3. Generate a sharing link: Click the 'Share' button in the top right corner of the WPS interface and select 'Create Link'.
- 4. Send the link: Copy the generated URL and email or message it directly to your client, completely bypassing the broken upload server.

Frequently Asked Questions
What does the 'Cannot find variable: BigInt' error mean?
BigInt is a modern JavaScript feature used by web developers to represent very large numbers. When you see this error, it means your web browser or the environment executing the web page does not support this feature, causing the background scripts handling the document upload to crash.
Which web browsers support BigInt for document uploads?
Most modern web browsers fully support BigInt. This includes Google Chrome (version 67 and newer), Mozilla Firefox (version 68 and newer), Microsoft Edge (version 79 and newer), and Apple Safari (version 14 and newer).
Will clearing my browser cache delete my downloaded documents?
No. Clearing your browser cache only removes temporary internet files, tracking cookies, and saved website data. Your personal documents, downloads folder, and files stored on your computer's hard drive will remain completely safe and untouched.




