Jupyter/Google Colab Dataset download error

Hello,

When attempting to run the code given to me when downloading the PKLot YOLOv8 dataset (PKLot Object Detection Dataset - 640) I keep getting an error stating I don’t have permission? I don’t know if I have any pre-requisites I’m missing but I thought I should be able to just paste and use it without getting any error. Is there any way to fix this?

RoboflowError                             Traceback (most recent call last)
<ipython-input-6-6a40288e5c7b> in <cell line: 5>()
      3 from roboflow import Roboflow
      4 rf = Roboflow(api_key="QiGzILQRCb99M6XZv4C5")
----> 5 project = rf.workspace("brad-dwyer").project("pklot")
      6 version = project.version(2)
      7 dataset = version.download("yolov8")

1 frames
/usr/local/lib/python3.10/dist-packages/roboflow/core/workspace.py in project(self, project_id)
     84             raise RuntimeError("The {} project is not available in this ({}) workspace".format(project_id, self.url))
     85 
---> 86         dataset_info = rfapi.get_project(self.__api_key, self.url, project_id)
     87         dataset_info = dataset_info["project"]
     88 

/usr/local/lib/python3.10/dist-packages/roboflow/adapters/rfapi.py in get_project(api_key, workspace_url, project_url)
     31     response = requests.get(url)
     32     if response.status_code != 200:
---> 33         raise RoboflowError(response.text)
     34     result = response.json()
     35     return result

RoboflowError: {
    "error": {
        "message": "Unsupported request. `GET /brad-dwyer/pklot` 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`."
    }

If more info is needed I can happily provide, I’m kind of new to this and would appreciate any feedback

Hey @Ben_Gilbert

This is the equivalent project on Roboflow Universe.

Could you try making a small change where you change your project ID there to pklot-1tros from what it is now?

I believe that should resolve your issue.

Hi Leo,

Thank you so much this solved the issue!

1 Like

Glad to hear it!

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