Skip to content
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

[Bug Report] Forbidden(403) on Introduction to JumpStart - Sentence Pair Classification #4590

Open
brunodoamaral opened this issue Mar 12, 2024 · 0 comments

Comments

@brunodoamaral
Copy link

Link to the notebook
Add the link to the notebook.

Describe the bug
On session 2. Select a pre-trained model, the s3 bucket returns "forbidden" for url s3://jumpstart-cache-prod-us-east-1/models_manifest.json
ClientError: An error occurred (403) when calling the HeadObject operation: Forbidden

The above exception occurs on a "optional" cell, but if not executed an NameError: name 'dropdown' is not defined is raised on 3.1. Retrieve JumpStart Artifacts & Deploy an Endpoint

To reproduce
Just run the code on a regular user account.

Logs

---------------------------------------------------------------------------
ClientError                               Traceback (most recent call last)
Cell In[10], line 5
      2 import ipywidgets as widgets
      4 # download JumpStart model_manifest file.
----> 5 boto3.client("s3").download_file(
      6     f"jumpstart-cache-prod-{aws_region}", "models_manifest.json", "models_manifest.json"
      7 )
      8 with open("models_manifest.json", "rb") as json_file:
      9     model_list = json.load(json_file)

(...)

File ~/anaconda3/envs/python3/lib/python3.10/site-packages/botocore/client.py:1009, in BaseClient._make_api_call(self, operation_name, api_params)
   1005     error_code = error_info.get("QueryErrorCode") or error_info.get(
   1006         "Code"
   1007     )
   1008     error_class = self.exceptions.from_code(error_code)
-> 1009     raise error_class(parsed_response, operation_name)
   1010 else:
   1011     return parsed_response

ClientError: An error occurred (403) when calling the HeadObject operation: Forbidden
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant