Sample not working

Hi, just trying this sample app…

I am getting this error…

Traceback (most recent call last):
File “/Users/ralph.krausse/candelete/robo/robo/robo.py”, line 10, in
result = CLIENT.ocr_image(inference_input=“./container1.jpeg”)
File “/Users/ralph.krausse/candelete/robo/robo/lib/python3.10/site-packages/inference_sdk/http/client.py”, line 89, in decorate
raise HTTPCallErrorError(
inference_sdk.http.errors.HTTPCallErrorError: HTTPCallErrorError(description=‘403 Client Error: Forbidden for url: https://infer.roboflow.com/doctr/ocr?api_key=rf***v2’, api_message=‘Forbidden’,status_code=403)

I do have an image by that name in my project

Hey!

Pretty sure there’s an API Key issue or you’ve used up your monthly quota of inferences.

Try looking at this tutorial for help or you might have to wait a month/create a new project and use that project’s API_Key to use more inferences.

Thanks, just generated a new key and I get the same error.

sorry lied. different error

Traceback (most recent call last):
File “/Users/ralph.krausse/candelete/robo/robo/robo.py”, line 10, in
result = CLIENT.ocr_image(inference_input=“./container1.jpeg”)
File “/Users/ralph.krausse/candelete/robo/robo/lib/python3.10/site-packages/inference_sdk/http/client.py”, line 89, in decorate
raise HTTPCallErrorError(
inference_sdk.http.errors.HTTPCallErrorError: HTTPCallErrorError(description=‘500 Server Error: Internal Server Error for url: https://infer.roboflow.com/doctr/ocr?api_key=uK***Pl’, api_message=‘Internal error.’,status_code=500)

I tried both the private and published keys

I downgraded my plan and made everything public… new key and still have the errors.

My folder structure was also not right. Either way it is working. thanks