Closed Bryson14 closed 2 months ago
Hi there, it looks like your curl request is going to our free hosted api rather than your container. Instead of https://api.unstructured.io/general/v0/general
, you'll want to use http://localhost:8000/general/v0/general
. As for the 12s, it would seem to be upload time for the pdf since the server didn't do any processing past returning 401. Let me know if it's also showing delays running locally.
Yes I just saw that. Thanks for dealing with my stupidity! haha
All good! 😂 Glad it's working now
Describe the bug A clear and concise description of what the bug is. After pulling the docker image, I followed the instructions to get the docker container running:
The container can online and then i tried to send a local PDF file to it:
Two things stick out to me. The system is asking for a API key even though I never set it from the docker run command. And 2, why did the response take 12 seconds?
So I tried to set the api key explicitely:
But I still get this error:
So where do i set this key and why is it required by default in the container?
To Reproduce Please provide as much info as possible:
Pull the unstructed-api image at tag 5cbd99e2e18364aced1c62e02e923b9c29f38462b24b232a4ae7eef584e13a3c.
Send a data file like a PDF and see the same respond about api keys.
Environment:
Additional context Add any other context about the problem here.