Skip to content

Delete endpoint did not work  #25

Description

@OperationalFallacy

Interesting project.

The delete wasn't working when I tried it.

curl -X DELETE ${PATHERY_ENDPOINT}index/book-index-v2-test/doc/7a0866e5-0c9a-4935-bd7f-27d5ea8d53be -H "x-api-key: ${PATHERY_KEY}"
{"job_id":"9a40bac7-9218-44b1-8b8a-0a573bad1447"}%

Some lambdas had errors, for example indexwriterworker

0: Error { code: "ValidationException", message: "1 validation error detected: Value null at 'requestItems.docs-indx-dev-DataTable447BC44E-1P20LM1U1BX3B.member.keys' failed to satisfy constraint: Member must not be null", request_id: "RG16HEKQSRMFEJ2IL4UO8FO007VV4KQNSO5AEMVJF66Q9ASUAAJG" }

Respective sqs view

image

I didn't use batch to add documents, just simple post

curl -X POST ${PATHERY_ENDPOINT}index/book-index-v1-test -H 'Content-Type: application/json' -H "x-api-key: ${PATHERY_KEY}" -d '{"documentName": "LG MK-132 Installation Guide.pdf", "author": "LG"}'

Tyler, are you thinking to keep developing this project? Any thoughts on using Amplify to abstract API and security?

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions