pathery icon indicating copy to clipboard operation
pathery copied to clipboard

Delete endpoint did not work

Open OperationalFallacy opened this issue 1 year ago • 0 comments

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?

OperationalFallacy avatar May 13 '24 01:05 OperationalFallacy