GeezerVisonThe World Wide Web, restored to 800 pixels of glory. |
| Home|About|Gaming cabinet|Archives|How it works|Starter sites |
GeezerVison is showing github.com — 400 Bad Request on Storage.copy · Issue #1237 · googleapis/google-cloud-java Closed Labels api: storageIssues related to the Cloud Storage API. DescriptionI started seeing this today. Sometimes our integration tests fail with the following error: ITStorageTest.testCopyBlob:683 » Storage 400 Bad Request Caused by: com.google.api.client.googleapis.json.GoogleJsonResponseException: 400 Bad Request No file found in request. The code that causes the error is the following: String sourceBlobName = "test-copy-blob-source"; BlobId source = BlobId.of(BUCKET, sourceBlobName); ImmutableMap<String, String> metadata = ImmutableMap.of("k", "v"); BlobInfo blob = BlobInfo.builder(source) .contentType(CONTENT_TYPE) .metadata(metadata) .build(); Blob remoteBlob = storage.create(blob, BLOB_BYTE_CONTENT); assertNotNull(remoteBlob); String targetBlobName = "test-copy-blob-target"; Storage.CopyRequest req = Storage.CopyRequest.of(source, BlobId.of(BUCKET, targetBlobName)); CopyWriter copyWriter = storage.copy(req); // Exception thrown here What's weird is that we never experienced this error before today and it does not occur systematically. @Capstan any idea? Activity
MetadataMetadataAssigneesLabelsapi: storageIssues related to the Cloud Storage API. TypeProjectsMilestoneRelationshipsDevelopmentIssue actions |
| You are visitor 01402775 — GeezerVison does not store the pages you look up. Best viewed with Netscape Navigator 4.7 or Internet Explorer 6 at 800×600. No cookies required. |