Compilation error: grpc: error while marshaling: string field contains invalid UTF-8

This issue still remains in version 2.3.7

Unfortunately I have swedish character “ö” in username so I get

grpc: error while marshaling: string field contains invalid UTF-8
Compilation error: grpc: error while marshaling: string field contains invalid UTF-8

Can someone fix this ?

As a workaround: given that the error appears after the "your sketch used this many bytes" message, maybe it is related to some notification after-the-fact. Did the compile actually work?

So then to Upload it, you need to disable the "Auto Verify" setting.

I'm not sure if that is the cause; it usually results in errors related to libraries that can not be found.

You can move the sketchbook directory to a path that only has ascii characters. In the IDE under file → preferences change the sketchbook directory to a path that does not contain non-ascii characters (e.g.C:\ArduinoSketchbook), next close the IDE and move the content of the old sketchbook directory to the new sketchbook directory.

Or create a new user without non-ascii characters.