Due to the hard cast at bucket.go:354, the driver will panic if a non-ObjectId is passed in for the fileID when calling bucket.OpenDownloadStream. Removing the cast seems to resolve the issue.
- backported by
-
GODRIVER-958 Backport "Panic when passing non-ObjectID file ID to bucket.OpenDownloadStream"
- Closed