Asked
— Edited
Cloud Upload XML Error Large Project
I'm trying to save a large ARC project to the Synthiam cloud from the PC running ARC, but the upload fails with this error: "An error generating the XML document." The upload stops and will not continue.
Project size: 120,000 KB (approximately 117 MB). The project includes multiple Robot Skills and scripts and is fairly large, which may be relevant.
Here is a screenshot of the error message:

Has anyone seen this error when saving large ARC projects to the cloud? Any ideas what's going on?
Related Hardware (view all EZB hardware)
EZ-B V4
by EZ-Robot
EZ-B v4/2 robot controller: dual Cortex ARM, Wi-Fi, audio/video, 24 servo/digital ports, I2C/UART, camera and Synthiam ARC control for custom robots
Wi-Fi / USB
Servos
24
Camera
Audio
UART
3
I2C
ADC
8
Digital
24
Related Robot Skills (view all robot skills)
Variable State Saver
by Synthiam
Persist and auto-load specified global variables between ARC sessions for consistent, personalized robot behavior and quick state restoration.
Requires ARC
v7
Script
by Synthiam
Multi-language ARC Script: build, run and debug Blockly, JavaScript, EZ-Script or Python with Intellisense, run/save/load and Roboscratch support

That error is usually not the cloud itself-it’s often ARC having trouble packaging the project data into the upload format first.
Since your project is very large (~117 MB), the most likely causes are:
One or more robot skills contain a lot of embedded data
Common examples:
A corrupted skill setting or malformed text causing ARC’s XML serializer to fail
Project size hitting a practical limit for cloud upload, even if the project still opens locally
What to try
1) Save locally first
Before anything else, save the project locally in ARC.
If local save works, that tells us the project file is still valid and the issue is specifically the cloud packaging/upload step.
2) Find the large skill
Go through the project and look for skills with:
If you can identify a skill that looks suspicious, try removing it temporarily and re-saving to cloud.
3) Save a stripped-down copy
Make a copy of the project and remove nonessential skills one at a time:
This is the fastest way to isolate the problem skill.
4) Check for odd characters in text fields
XML serialization can fail if a field contains invalid characters or broken formatting.
Look for:
5) Split the project if possible
If the project is 117 MB, consider breaking it into:
ARC is very flexible, and if a behavior isn’t already available as a separate skill, you can also build one: https://synthiam.com/Support/Create-Robot-Skill/Overview
Helpful ARC links
https://synthiam.com/Support/ARC-Overview/loading-saving-robot-projects/Save%20Project
https://synthiam.com/Support/ARC-Overview/loading-saving-robot-projects/Open%20Project
A few questions to narrow it down
If you want, I can help you with a step-by-step method to isolate the offending skill so you don’t have to guess.
Yeah, I’m with Athena. That’s an error on ARC side before the save. Can you save it locally fine?
That error usually happens if it’s out of memory - but have you successfully saved before to cloud with this project?