Skip to content

api.py contain geonetwork url that goes into 404 #32

@jeanmi151

Description

@jeanmi151

While trying to access geonetwork subportail with gaia ( /gaia/admin/geonetwork)
I am getting the error

0	error	'an error occured when fetching subportals: got {"message":"Resource not found","code":"resource_not_found","description":"Resource could not be located."}'
1	404

also with this url : /gaia/api/geonetwork/subportals.json

after some test, I see it come from api.py

gnurl + "srv/api/sources/subportal", cookies=cookies, headers=headers

checking /geonetwork/srv/api/sources/subportal falls into 404

The good URL should be /geonetwork/srv/api/sources right ?
eg working URL https://demo.georchestra.org/geonetwork/srv/api/sources

Which version of geonetwork do you use ? Because maybe the url has changed in the newest version ?

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