run-llama / llama_parse

Parse files for optimal RAG
https://www.llamaindex.ai
MIT License
3.04k stars 294 forks source link

Silent Failure from API #161

Open garmeeh opened 6 months ago

garmeeh commented 6 months ago

At present if you create a parsing job with unsupported file type via the API you get a success response with a job id and status.

However, when checking the parsing job status via:

curl -X 'GET' \
  'https://api.cloud.llamaindex.ai/api/parsing/job/<job_id>' \
  -H 'accept: application/json' \
  -H "Authorization: Bearer $LLAMA_CLOUD_API_KEY"

It returns a 404 error

{
    "detail": "Result not found. Check job status to see if it has completed."
}

Edit: My case it was a .jpeg

valenradovich commented 5 months ago

Same output here, but in my case I am uploading a supported file, it is a .pdf blob that is supposed to work because it worked earlier.

The blob file that worked earlier today was stored correctly in the 'history', the one now, even though the status is 'success' it doesn't appear.

emorling commented 3 months ago

Same here with a .txt file which should be supported