Saba Malik
Saba Malik

Reputation: 281

Bash script unable to communicate with report portal - throws 401

I am getting following error when executing my automated script through jenkins or running bash command from terminal. I am passing report portal credential in jenkins file and tried to pass in mvn command as well (in .sh file) but no success. Can someone please help me, will be highly appreciated. Thanks

Exception:

com.epam.reportportal.service.launch - [17] report portal execution error retrofit2.adapter.rxjava2.httpexception: 401 unauthorized

enter image description here

Upvotes: 1

Views: 274

Answers (1)

Saba Malik
Saba Malik

Reputation: 281

I was able to resolve the issue by regenerating the UUID in report portal and used that newly generated id in reportportal.properties file.

Upvotes: 1

Related Questions