My first attempt, I tried to add some metadata: {“httpCode”:400,“internalCode”:400,“details”:“Metadata is not properly formatted json.”,“status”:{“code_”:400,“statusDetail_”:“Metadata is not properly formatted json.”,“memoizedIsInitialized”:1,“unknownFields”:{“fields”:{}},“memoizedSize”:-1,“memoizedHashCode”:0}}
I got this when I try to omit the metadata: {“httpCode”:500,“internalCode”:13,“details”:“Request failed; contact support if the error persists.”}
Hi Steve,
I tried this locally (with meta-data) on a PDF file and seems to work fine. Is the file you’re trying to upload something you can share as well, so I can try to replicate with exactly this file?
When I try to upload the Markdown file, i get this now:
{"httpCode":400,"internalCode":400,"details":"Metadata is not properly formatted json.","status":{"code_":400,"statusDetail_":"Metadata is not properly formatted json.","memoizedIsInitialized":1,"unknownFields":{"fields":{}},"memoizedSize":-1,"memoizedHashCode":0}}
But if I try the same command with the SAME json payload with a PDF file and it works.
Your markdown file uploaded just fine as is… BUT, if I modify its contents to be just the text “Hello”, it fails. There seems to be some required markdown format?
Hi Steve. We were able to identify a bug, where the indexing behavior is different depending on whether the doc_metadata field is added. If I remove that field then both the short markdown file as well as a longer one are uploaded successfully. We’ll be resolving that issue ASAP.