OpenEoApiError: [401] TokenExchangeFailure

Hi,
I am trying to follow this tutorial: User-Defined Functions (UDF) explained — openEO Python Client 0.36.0a1 documentation but struggle with the following error:


This is the link to the GitHub repo including the notebook: GitHub - PEOPLE-ECCO/openEO-udf at python-udf
The authentication via openeo.connect was successful.
Does anyone have an idea how to solve it?

P.S.: Login to https://editor.openeo.cloud/ and API Suite - Portal works and I have enough credits. Stiil I get that error.

Hi Markus,

Perhaps you can try login again to https://portal.terrascope.be again? After that, you can try go to this page API Suite - Portal, and click on ‘Manage On Terrascope’ button.

Under ‘Federated Identity’ menu, you can remove and add again your EduGain. Finally, try executing your code again. Let me know if it works for you.

1 Like

That was it, thanks!

1 Like