Help + Forum

python-api-client

W
Walter LorenzettiinHelp + Forum
about 1 month ago

Hi everyone,

I’m running some tests with a Mergin Maps Community server and the Python API client.

I’m having an issue with client.client.list_workspace_members. I’m trying to retrieve the list of workspace members like this:

client.client.list_workspace_members('mergin')

Since there is only one workspace in the Community Edition, I would expect this to work. However, I’m getting a 404 response:

File /usr/lib/python3.12/urllib/request.py:492, in OpenerDirector._call_chain(self, chain, kind, meth_name, args)
491 func = getattr(handler, meth_name)
-->
492 result = func(args)

...

ClientError: Detail: The requested URL was not found on the server. If you entered the URL manually please check your spelling and try again.
HTTP Error: 404
URL: http://localhost:8080/v2/workspaces/mergin/members
Method: GET

Where am I wrong?

Thanks in advance

  1. Submitted
  2. Planned
  3. In Progress
  4. Completed
Loading content, please wait...
Loading content, please wait...
Loading content, please wait...
Loading content, please wait...
Loading content, please wait...
Loading content, please wait...
Loading content, please wait...
Loading content, please wait...
Loading content, please wait...
Loading content, please wait...
Loading content, please wait...
Loading content, please wait...