-
Notifications
You must be signed in to change notification settings - Fork 103
Open
Description
Hi all,
We've recently been trying to use this library in our AWS Node Lambdas to register a schema and then encode with it.
const schema = await readAVSCAsync(getSchemaFromKey(s3ObjectKey))
const {id} = await registry.register({type: SchemaType.AVRO, schema})However I keep running into a recurring error during the register method call with a status 400. The call being made by the library is perfectly valid so it's a bit perplexing why it would be returning 400 and there's no other logs for me to go off of.
{
"errorType": "ResponseError",
"errorMessage": "Confluent_Schema_Registry - Error, status 400",
"name": "ResponseError",
"status": 400,
"unauthorized": false,
"url": "get https://<confluent-url>/config/<subject>",
"stack": [
"ResponseError: Confluent_Schema_Registry - Error, status 400",
" at /var/task/index.js:2206:102",
" at process.processTicksAndRejections (node:internal/process/task_queues:95:5)"
]
}I've tried making the exact same call via bruno and I get a 404 as expected as compatability has not been configured for the subject.
Any ideas?
jeffknimarcelolon
Metadata
Metadata
Assignees
Labels
No labels