Skip to content

Remove project API not working #95

@tomasMizera

Description

@tomasMizera

Failed to remove project on dev.dev via CLI.

I logged in successfully

Traceback:

~/projects/qgis-projects » mergin remove big_project

Unhandled exception!
Traceback (most recent call last):

  File "/home/tomasmizera/.local/lib/python3.8/site-packages/mergin/client.py", line 131, in _do_request
    return self.opener.open(request)

  File "/usr/lib/python3.8/urllib/request.py", line 531, in open
    response = meth(req, response)

  File "/usr/lib/python3.8/urllib/request.py", line 640, in http_response
    response = self.parent.error(

  File "/usr/lib/python3.8/urllib/request.py", line 569, in error
    return self._call_chain(*args)

  File "/usr/lib/python3.8/urllib/request.py", line 502, in _call_chain
    result = func(*args)

  File "/usr/lib/python3.8/urllib/request.py", line 649, in http_error_default
    raise HTTPError(req.full_url, code, msg, hdrs, fp)

urllib.error.HTTPError: HTTP Error 405: METHOD NOT ALLOWED


During handling of the above exception, another exception occurred:


Traceback (most recent call last):

  File "/home/tomasmizera/.local/lib/python3.8/site-packages/mergin/cli.py", line 392, in remove
    c.delete_project(project)

  File "/home/tomasmizera/.local/lib/python3.8/site-packages/mergin/client.py", line 412, in delete_project
    self._do_request(request)

  File "/home/tomasmizera/.local/lib/python3.8/site-packages/mergin/client.py", line 114, in wrapper
    return f(self, *args)

  File "/home/tomasmizera/.local/lib/python3.8/site-packages/mergin/client.py", line 135, in _do_request
    raise ClientError(info.get("detail"))

mergin.common.ClientError: The method is not allowed for the requested URL.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions