Skip to content

Amazon Sagemaker Import dataset from S3

0

I can't import a tabular dataset from an S3 bucket to Amazon SageMaker Canvas. I hace the following error: Canvas can't process your request right now. Try again in a few minutes, or contact your administrator and share the details below to resolve the issue. If you're an administrator or an individual user, contact AWS support and provide the following code: <f5df8302-be3d-48dd-adbf-3b2edf2946d6> to resolve the issue.

asked 9 months ago137 views

2 Answers
0

This SageMaker Canvas error is typically related to IAM permissions or configuration issues. You could check the most common causes and solutions for your S3 import problem:

Cause & Solution:

Ensure your role has permissions to;

  • "AmazonSageMakerCanvasFullAccess" policy
  • S3 read/list permissions for your bucket & it's contents
  • Ensure Canvas and S3 bucket are in the same region
  • Check bucket policies don't block SageMaker access
  • Ensure your tabular dataset is in supported format e.g. CSV, Apache Parquet, Apache ORC, JSON

Please refer: Grant Permissions for Cross-Account S3 Storage

  • Your SageMaker execution role might have trust relationships with other AWS services, you can check if your role trusts services beyond SageMaker. Edit the trust policy to only include SageMaker:
        {
            "Version":"2012-10-17",		 	 	 
            "Statement": [
                {
                    "Effect": "Allow",
                    "Principal": {
                        "Service": [
                            "sagemaker.amazonaws.com"
                        ]
                    },
                    "Action": "sts:AssumeRole"
                }
            ]
        }

Please refer: SageMaker Canvas Limitations and Troubleshooting

You might wanna check this previous reported issue as well;

https://repost.aws/questions/QU0EfWDThbQ36E1js4zv5OYQ/sagemaker-canvas-can-t-process-your-request-right-now-error-try-again-in-a-few-minutes-or-contact-your-administrator-and-share-the-details-below-to-resolve-the-issue

AWS

answered 9 months ago

0

Canvas only supports tabular data in specific formats:

Supported

  • .csv
  • .parquet
  • .tsv
  • .xlsx (Excel)
  • .json (newline-delimited for tabular)

Ensure

  • Try downloading the file locally and opening it
  • Ensure the first row is a clean header row
  • No merged cells (for Excel)
EXPERT

answered 9 months ago

You are not logged in. Log in to post an answer.

A good answer clearly answers the question and provides constructive feedback and encourages professional growth in the question asker.