-
Notifications
You must be signed in to change notification settings - Fork 1.2k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Unable to upload artifact using SAM CLI Version 1.109.0 #6667
Comments
Seeing the same error message when deploying this code sample with SAM CLI It works when I downgrade to |
I completely removed sam-cli and use there installable package. How did you downgrade version ? |
You can download old versions for your OS here on GitHub under Releases. e.g. here 1.106.0 |
I installed aws-sam-cli using homebrew and it stop working. I completely removed package from my local and use installable pacakge. |
Hey @awsmantra thanks for reporting the issue and @pbv0 for providing an example to reproduce the issue. However, I tried two installation methods (using @pbv0 In the code sample you provided, did it not work in the backend or the frontend or both? |
I am getting the same error with 1.109.0. Here's the output of deployment with
|
I can reproduce with the following steps (keep the default options during git clone [email protected]:aws-samples/serverless-pdf-chat.git
cd serverless-pdf-chat/backend
sam build --use-container
sam deploy --guided |
I have the same issue as described in the original description. I am using aws-sam-cli installed via brew. After uninstalling it with brew and then installing it through package installer it started to work again. Both versions were 1.109.0 |
For Mac , I only see Package Installer works as mention by @domengabrovsek |
Got it. I'll try to reproduce the issue with SAM CLI installed through homebrew. |
Hey all, Right now if you install AWS SAM CLI through homebrew, homebrew installs We recommend you to install SAM CLI through package installer. Please let us know if you have any further questions. |
created an issue in homebrew-core to follow up - Homebrew/homebrew-core#162626 |
Hey all, closing the issue as homebrew has fixed the issue through Homebrew/homebrew-core#162634. I tried it myself (with Feel free to raise a new issue if there is still any issue/question. |
|
this worked for me, I removed the Brew package and install the downloaded package ( ver. 1.115.0) |
I have upgraded my local sam-cli version to 1.109.0
Now when I am trying to upload artifact, I am getting below error
Error: Unable to upload artifact HelloWorldFunction referenced by CodeUri parameter of HelloWorldFunction resource.
An HTTP Client raised an unhandled exception: sequence item 0: expected str instance, bytes found
I was able to upload all my prior SAM projects before upgrading to this new version
The text was updated successfully, but these errors were encountered: