I started seeing this today. Sometimes our integration tests fail with the following error:
ITStorageTest.testCopyBlob:683 » Storage400BadRequestCausedby: com.google.api.client.googleapis.json.GoogleJsonResponseException: 400BadRequestNofilefoundinrequest.
The code that causes the error is the following:
StringsourceBlobName = "test-copy-blob-source";
BlobIdsource = BlobId.of(BUCKET, sourceBlobName);
ImmutableMap<String, String> metadata = ImmutableMap.of("k", "v");
BlobInfoblob = BlobInfo.builder(source)
.contentType(CONTENT_TYPE)
.metadata(metadata)
.build();
BlobremoteBlob = storage.create(blob, BLOB_BYTE_CONTENT);
assertNotNull(remoteBlob);
StringtargetBlobName = "test-copy-blob-target";
Storage.CopyRequestreq = Storage.CopyRequest.of(source, BlobId.of(BUCKET, targetBlobName));
CopyWritercopyWriter = storage.copy(req); // Exception thrown hereWhat's weird is that we never experienced this error before today and it does not occur systematically. @Capstan any idea?
I started seeing this today. Sometimes our integration tests fail with the following error:
The code that causes the error is the following:
What's weird is that we never experienced this error before today and it does not occur systematically. @Capstan any idea?