Sporadic issues with GCS remote state backend


We use Google Cloud Storage as our remote state backend.
We currently use 0.12.6.

We regulary get the problem that our Jenkins pipeline fails with the following error:

Failed to save state: Failed to upload state to gs://X/Y/Z/master/default.tfstate: googleapi: got HTTP response code 400 with body: Invalid multipart request with 0 mime parts.

This error looks alot like https://github.com/googleapis/google-api-go-client/issues/343

We checked the go source code and it looks like this should be in the go version that Terraform 0.12.6 is compiled on.

Does anyone have a suggestion on how we can troubleshoot this further?