Firebase Error: First argument has a key path longer than 768 Bytes
问题 I am trying to save an image of a canvas to my firebase database. But when I try to save it I get the following error. Uncaught Error: Reference.set failed: First argument has a key path longer than 768 bytes (6829) Is there any way I can make this string shorter so I could submit it. Below is the code I use to convert it to URL function saveFunction(){ var canvas = document.getElementById("sheet"); var dataURL = canvas.toDataURL(); console.log(dataURL); firebase.database().ref('Cords/' +