CAPIF 3.0 - 401 Client Error: Unauthorized for url -- Solved

Hi all,

I am trying to use the latest versiosn of CAPIF and NEF but I do not manage to obtain the same results as with previous versions.

I have the following trace error:

self.location_subscriber = LocationSubscriber(host, token.access_token, utils.certificates_folder, utils.capif_host, utils.capif_https_port)
  File "/usr/local/lib/python3.8/dist-packages/evolved5g/", line 113, in __init__
    super().__init__(nef_url, nef_bearer_access_token,
  File "/usr/local/lib/python3.8/dist-packages/evolved5g/", line 33, in __init__
    "MONITORING_SUBSCRIPTIONS": service_discoverer.retrieve_specific_resource_name(
  File "/usr/local/lib/python3.8/dist-packages/evolved5g/", line 1178, in retrieve_specific_resource_name
    capif_apifs = self.discover_service_apis()
  File "/usr/local/lib/python3.8/dist-packages/evolved5g/", line 1167, in discover_service_apis
  File "/usr/local/lib/python3.8/dist-packages/requests/", line 953, in raise_for_status
    raise HTTPError(http_error_msg, response=self)
requests.exceptions.HTTPError: 401 Client Error: Unauthorized for url: https://capifcore/service-apis/v1/allServiceAPIs?api-invoker-id=6c2dbbb093dab13b368aa377fefab4

I am using CAPIF 3.0, NEF 1.6.1 and evolved5g 0.8.9.
Any help on this matter would be useful.

Thank you.

This problem is caused by version incompatibility. The correct versions to use are:

CAPIF v2.1 - NEF v1.6.2 - SDK v0.8.9

CAPIF v3.0 - NEF v2.0 - SDK v1.0.0