Analytics livestream failing with HTTP/1.1 401 Unauthorized
Hi,
We have created 3 seperate API projects for 3 seperate report suites to retrieve data from adobe analytics via livestream API. What we have noticed is that for the first project the retrieval is successful. However, for the subsequent retrivals (2 & 3), the retrievals are failing with "HTTP/1.1 401 Unauthorized.". In all 3 cases we are running with the same account and same permissions, and not sure why this is the case. Any report suite created after the 1st one fails here.
Step:
- Go to IO console.
- Click on the project name.
- Click on Service Account(JWT) -> Generate JWT
- Provide a private key and click on Generate Token
- Copy the generated curl command.
- Run the curl command and get a bearer token.
- Run
curl -v --location --compressed --header "Authorization: Bearer <token>" "https://livestream.adobe.net/api/1/stream/clientdetail";
Regards,
Sri