Get-CCBlob can't load 17.7 MB (18,653,184 bytes) file #291
-
|
Hello What is the max size for Get-CCBlob? Git blob size - Maximum of 2 GB. https://docs.aws.amazon.com/codecommit/latest/userguide/limits.html |
Beta Was this translation helpful? Give feedback.
Replies: 2 comments
-
|
@dburtsev The documentation Quotas in AWS CodeCommit specifies the quotas in general for CodeCommit. The API reference page for GetBlob specifies that the operation could return Thanks, |
Beta Was this translation helpful? Give feedback.
-
|
Hello! Reopening this discussion to make it searchable. |
Beta Was this translation helpful? Give feedback.
@dburtsev The documentation Quotas in AWS CodeCommit specifies the quotas in general for CodeCommit. The API reference page for GetBlob specifies that the operation could return
FileTooLargeException. In this case, it exceeds the limit of6MB, hence the error. While PowerShell might not give the exact exception type, executing the same command in AWS CLIaws codecommit get-blob --repository-name <<reponame>> --blob-id <<blobid>>(Blob ID for a file could be obtained usinggit ls-tree <<commit-id>>command), returns the same error: