Important project, help me!

I want to deploy my project that I created using “workflow” to my device using the API. According to the code suggested by roboflow in “workflow”, I send a request with the following code:

from inference_sdk import InferenceHTTPClient

client = InferenceHTTPClient(
api_url=“https://detect.roboflow.com”,
api_key=“C0p1kf3Bk************”
)

result = client.run_workflow(
workspace_name=“***-yapay-zeka”,
workflow_id=“custom-workflow”,
images={
“image”: “C:\Users\***pal\test.jpg” # Send the image
}
)

print(result)

And I get the following error:

inference_sdk.http.errors.HTTPCallErrorError: HTTPCallErrorError(description=‘500 Server Error: Internal Server Error for url: https://detect.roboflow.com/sutas-yapay-zeka/workflows/custom-workflow’, api_message=‘Internal Server Error’,status_code=500)

Hi @eren,

Thank you for reporting this issue.

Can you confirm what was the size of test.jpg?

Thanks!
Grzegorz

This topic was automatically closed 21 days after the last reply. New replies are no longer allowed.