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

I'm using Arduino IDE 2.3.3 and I got this error after compiling code that already worked before the upgrade
Compilation error: grpc: error while marshaling: string field contains invalid UTF-8

You need to post the source code using code tags and the verbose error log using code tags, then someone can look at it. We don't chase links.

Same issue here, I can't compile anything with the IDE (2.3.3) after this update so I think the source code doesn't really matter. Web editor compiles just fine.

1 Like

Update: downgrading to IDE 2.3.2 seems to fix the problem for me.

2 Likes

Its work! I downgrading tô arduino ide 2.3.2 too and compile normal.

I have also updated to IDE 2.3.3 and it gives the same error and sometimes compile error. For simple code that does not use external libraries, the compile error did not occur. For sketches that use external libraries, such as Adafruit's AMG88xx library, the error occurs. It appears that the external library (part of?) It appears that there has been a change in the UTF handling of (some?) external libraries. My countermeasure is also downgraded to 2.3.2.

1 Like