unstract icon indicating copy to clipboard operation
unstract copied to clipboard

fix: [ISSUE] Issue while using API to extract text from documents (as a JSON response)

Open koushik16 opened this issue 7 months ago • 1 comments

Describe the bug

A clear and concise description of what the bug is. I tried to upload a document through the API, but I am getting an empty JSON response. (worked previously)

To reproduce

Steps to reproduce the behavior. Should give a JSON response with all extracted details.

Expected behavior

A clear and concise description of what you expected to happen. When I call the API by sending a document, I am not getting any response - It says "error: Non-JSON response"

Environment details

  • Version: [e.g. 0.41.2]

Additional context

Add any other context about the problem here.

Screenshots

If applicable, add screenshots to help explain your problem.

koushik16 avatar May 22 '25 15:05 koushik16

[UPDATE 31MAY2025] Found the root cause, it was due to insufficient memory allocation.

[ORIGINAL] I am experiencing the same. In the log you can see that the output was dumped to storage even though the output was set as API. The status was always shown as EXECUTING

Image

kevingoh avatar May 23 '25 04:05 kevingoh