Unable to run roboflow on oak-d

Hi. I am attempting to run a fruit detector model I trained on roboflow on my oak-d pro w. I keep encountering this error:

python3 fruit_detector.py
Traceback (most recent call last):
File “/Users/admin/Desktop/oak/fruit_detector.py”, line 8, in
rf = RoboflowOak(model=“vert-bhy5x”, confidence=0.05, overlap=0.5,
File “/Users/admin/Desktop/oak/myenv/lib/python3.11/site-packages/roboflowoak/init.py”, line 59, in init
self.cache_path = self.find_weights()
File “/Users/admin/Desktop/oak/myenv/lib/python3.11/site-packages/roboflowoak/init.py”, line 135, in find_weights
return download_blob(
File “/Users/admin/Desktop/oak/myenv/lib/python3.11/site-packages/roboflowoak/api.py”, line 25, in download_blob
raise Exception(str(api_data.json()))
Exception: {‘error’: {‘message’: ‘Unsupported request. GET /oak/vert-bhy5x/2 does not exist or cannot be loaded due to missing permissions.’, ‘type’: ‘GraphMethodException’, ‘hint’: ‘You can see your active workspace by issuing a GET request to / with your api_key.’}}

I have tried revoking my api and requesting a new one but it doesn’t seem to work. I am on macbook Air M1. Here is my roboflow workspace:

Hi @Code_Genius

Sorry to hear you’re having issues. Could you share the code that you used for this?

From what I can see in the error message, it’s stating that there’s no model called vert-bhy5x. I think this would make sense since your workspace seems to be called that, but the link you sent suggests fruit-detector-fiam2 to be the model ID.

For reference, our URL structure is like this:

https://app.roboflow.com/**workspace ID**/**project ID**