Skip to content

Get-CCBlob can't load 17.7 MB (18,653,184 bytes) file #291

Answered by ashishdhingra
dburtsev asked this question in Q&A
Discussion options

You must be logged in to vote

@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 of 6MB, hence the error. While PowerShell might not give the exact exception type, executing the same command in AWS CLI aws codecommit get-blob --repository-name <<reponame>> --blob-id <<blobid>> (Blob ID for a file could be obtained using git ls-tree <<commit-id>> command), returns the same error:

An error occurred (FileTooLargeException) when calling the GetBlob operation: This object exceeds the max size for retrieval via the API. Use the git client to …

Replies: 2 comments

Comment options

You must be logged in to vote
0 replies
Answer selected by ashishdhingra
Comment options

You must be logged in to vote
0 replies
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
guidance Question that needs advice or information. module/powershell-cmdlets
2 participants