Hi Team, Facing an issue while accessing datahub o...
# troubleshoot
l
Hi Team, Facing an issue while accessing datahub open api using rest template in spring boot . code image and issue : Servlet.service() for servlet [dispatcherServlet] in context with path [] threw exception [Request processing failed; nested exception is org.springframework.web.client.HttpClientErrorException$Unauthorized: 401 Unauthorized: [no body]] with root cause error
b
Hey, You can generate tokens on the UI and use them in code, see more about this here: https://datahubproject.io/docs/authentication/personal-access-tokens/#personal-access-tokens-setup-prerequisites-and-permissions
l
Thanks for response