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

Unsupported operation exception thrown when generating meta-data #13

Open
mariuszch opened this issue Aug 30, 2022 · 2 comments
Open

Unsupported operation exception thrown when generating meta-data #13

mariuszch opened this issue Aug 30, 2022 · 2 comments

Comments

@mariuszch
Copy link

mariuszch commented Aug 30, 2022

No description provided.

@mariuszch
Copy link
Author

When I setup .env file and run generate-eventmetadata I get exception:

m.chruscielewski@LE2273 eventbridge-atlas % npm run generate-eventmetadata

eventbridge-atlas@1.1.0 generate-eventmetadata
babel-node src/utils/generate-metadata-templates

/Users/m.chruscielewski/projects/growy/eventbridge-atlas/node_modules/@aws-sdk/client-schemas/dist-cjs/protocols/Aws_restJson1.js:2362
const exception = new models_0_1.BadRequestException({
^

BadRequestException: Unsupported operation.
at deserializeAws_restJson1BadRequestExceptionResponse (/Users/m.chruscielewski/projects/growy/eventbridge-atlas/node_modules/@aws-sdk/client-schemas/dist-cjs/protocols/Aws_restJson1.js:2362:23)
at deserializeAws_restJson1ListSchemasCommandError (/Users/m.chruscielewski/projects/growy/eventbridge-atlas/node_modules/@aws-sdk/client-schemas/dist-cjs/protocols/Aws_restJson1.js:1693:25)
at processTicksAndRejections (node:internal/process/task_queues:96:5)
at /Users/m.chruscielewski/projects/growy/eventbridge-atlas/node_modules/@aws-sdk/middleware-serde/dist-cjs/deserializerMiddleware.js:7:24
at /Users/m.chruscielewski/projects/growy/eventbridge-atlas/node_modules/@aws-sdk/middleware-signing/dist-cjs/middleware.js:11:20
at StandardRetryStrategy.retry (/Users/m.chruscielewski/projects/growy/eventbridge-atlas/node_modules/@aws-sdk/middleware-retry/dist-cjs/StandardRetryStrategy.js:51:46)
at /Users/m.chruscielewski/projects/growy/eventbridge-atlas/node_modules/@aws-sdk/middleware-logger/dist-cjs/loggerMiddleware.js:6:22 {
'$fault': 'client',
'$metadata': {
httpStatusCode: 400,
requestId: '65e87a6e-c438-45c9-b977-f364c7dd46ef',
extendedRequestId: undefined,
cfId: undefined,
attempts: 1,
totalRetryDelay: 0
},
Code: 'MalformedRequest'
}

@mariuszch mariuszch changed the title What is SCHEMA_REGISTRY_NAME in .env Unsupported operation exception thrown when generating meta-data Aug 30, 2022
@boyney123
Copy link
Owner

Hmm looks like 400 error, what schema registry have you entered in the env file? Might be worth double checking region, schema reg and event bus in the env file is setup correctly.

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

2 participants