Ideas
I'm having the same issue for last couple weeks.
First, I disabled one pack via command line. I tried to upload the build and could not. Ok, then I re-enabled this pack and tried again - no result. I disabled my mods (I only have better build buy and tool) - nothing, the same issue. Then, I repaired my game. the same issue. I tried to clean up the space on my PC, in case the build is too big. I tried to delete some of my other builds in gallery. I tried to rename the build. Nothing was working. I tried to upload a room instead of a whole build, empty lot and so on - nothing was working. I only noticed that room was saved, but the error still appeared. I read here, at the forum, that sometime it helps to wait some time even if error appear. I waited but it didn't help. And then some time later, after dinner, I tried to upload the same lot again and it worked, just like that. With no error or something, it just worked!
Since then I had this issue couple times, but it helped to wait a bit, error appeared, but the build was saved to gallery.
It is very weird!