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

Delete endpoint did not work #25

Open
OperationalFallacy opened this issue May 13, 2024 · 0 comments
Open

Delete endpoint did not work #25

OperationalFallacy opened this issue May 13, 2024 · 0 comments

Comments

@OperationalFallacy
Copy link

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?

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

1 participant