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

ValidationException on AI Data Extraction (Generation) #3054

Closed
hlhc opened this issue Nov 27, 2024 · 2 comments
Closed

ValidationException on AI Data Extraction (Generation) #3054

hlhc opened this issue Nov 27, 2024 · 2 comments
Labels

Comments

@hlhc
Copy link

hlhc commented Nov 27, 2024

Environment information

System:
  OS: macOS 15.0
  CPU: (10) arm64 Apple M1 Pro
  Memory: 133.81 MB / 16.00 GB
  Shell: /bin/zsh
Binaries:
  Node: 20.14.0 - ~/.local/state/fnm_multishells/35173_1732740040993/bin/node
  Yarn: 1.22.22 - ~/.local/state/fnm_multishells/35173_1732740040993/bin/yarn
  npm: 10.7.0 - ~/.local/state/fnm_multishells/35173_1732740040993/bin/npm
  pnpm: 9.11.0 - ~/.local/state/fnm_multishells/35173_1732740040993/bin/pnpm
NPM Packages:
  @aws-amplify/auth-construct: Not Found
  @aws-amplify/backend: 1.8.0
  @aws-amplify/backend-auth: Not Found
  @aws-amplify/backend-cli: 1.4.2
  @aws-amplify/backend-data: Not Found
  @aws-amplify/backend-deployer: Not Found
  @aws-amplify/backend-function: Not Found
  @aws-amplify/backend-output-schemas: Not Found
  @aws-amplify/backend-output-storage: Not Found
  @aws-amplify/backend-secret: Not Found
  @aws-amplify/backend-storage: Not Found
  @aws-amplify/cli-core: Not Found
  @aws-amplify/client-config: Not Found
  @aws-amplify/deployed-backend-client: Not Found
  @aws-amplify/form-generator: Not Found
  @aws-amplify/model-generator: Not Found
  @aws-amplify/platform-core: Not Found
  @aws-amplify/plugin-types: Not Found
  @aws-amplify/sandbox: Not Found
  @aws-amplify/schema-generator: Not Found
  aws-amplify: 6.10.0
  aws-cdk: 2.171.0
  aws-cdk-lib: 2.171.0
  typescript: 5.7.2
AWS environment variables:
  AWS_PROFILE = [redacted]
  AWS_REGION = us-east-1
No CDK environment variables

Describe the bug

Following the Documentation to do data extraction, but returning ValidationException:http://internal.amazon.com/coral/com.amazon.bedrock/.

{
    "data": {
        "extractProductDetails": null
    },
    "errors": [
        {
            "path": [
                "extractProductDetails"
            ],
            "data": null,
            "errorType": "ValidationException:http://internal.amazon.com/coral/com.amazon.bedrock/",
            "errorInfo": null,
            "locations": [
                {
                    "line": 2,
                    "column": 3,
                    "sourceName": null
                }
            ],
            "message": "A custom error was thrown from a mapping template."
        }
    ]
}

Reproduction steps

  1. Add Auth to the Next.js template
  2. Following the Documentation to integrate data extraction
@ykethan
Copy link
Member

ykethan commented Nov 27, 2024

Hey,👋 thanks for raising this! I'm going to transfer this over to our API repository for better assistance 🙂

@ykethan ykethan transferred this issue from aws-amplify/amplify-backend Nov 27, 2024
@ykethan ykethan added transferred aikit Related to Amplify AI kit Gen 2 labels Nov 27, 2024
@hlhc hlhc closed this as completed Nov 29, 2024
Copy link

This issue is now closed. Comments on closed issues are hard for our team to see.
If you need more assistance, please open a new issue that references this one.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

2 participants