Skip to content

"Unable to local credentials" error is happening a lot inside SageMaker Notebooks #1996

Closed

Description

@cfregly

image

Activity

  1. changed the title [-]"Cannot find credentials" error is happening a lot inside SageMaker Notebooks[/-] [+]"Unable to local credentials" error is happening a lot inside SageMaker Notebooks[/+] on Nov 20, 2020
  2. icywang86rui commented on Nov 21, 2020

    @icywang86rui
    Contributor

    @cfregly

    • Are you running a specific example notebook?
    • Are you using sagemaker python sdk in your notebook?
    • Are you running notebook instances or studio?
    • How did you setup your execution role for the notebook?
  3. cfregly commented on Nov 21, 2020

    @cfregly
    Author

    It happens sporadically. Classic SM notebook instances. Any notebook.

    Started happening more with sagemaker sdk 2.x. Same code and IAM roles that we’ve been using for 1 year: https://github.com/data-science-on-aws/workshop

    Either a cell re-run or notebook kernel restart + Run All helps, but it’s very disruptive and unpredictable.

  4. cfregly commented on Nov 24, 2020

    @cfregly
    Author

    any update?

  5. SameerJain901 commented on Dec 7, 2020

    @SameerJain901

    Even I am having similar issue(Tried restarting the kernel as well):
    image

  6. added a commit that references this issue on Jun 3, 2026
  7. added a commit that references this issue on Jun 15, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions