Question

how to generate Api credential key in data collector 3.x

  • 10 July 2023
  • 3 replies
  • 17 views

Userlevel 2

Below is my Api curl command but it shows error 

i followed the link  https://docs.streamsets.com/portal/platform-controlhub/controlhub/UserGuide/OrganizationSecurity/APICredentials_title.html#concept_vpm_p32_qqb.

Shows Error

Error like:-

 


3 replies

Userlevel 5
Badge +1

@lakshmi_narayanan_t 

 

A 401 error in the curl command indicates an unauthorized access issue. It means that the provided credentials (username and password) are either incorrect or insufficient to authenticate with StreamSets Data Collector (SDC) and generate the API credential key.

 

Thanks & Regards

Bikram_

Userlevel 2

@lakshmi_narayanan_t

 

A 401 error in the curl command indicates an unauthorized access issue. It means that the provided credentials (username and password) are either incorrect or insufficient to authenticate with StreamSets Data Collector (SDC) and generate the API credential key.

 

Thanks & Regards

Bikram_

then what can i do ,and how to generate 

Userlevel 2
Badge

@lakshmi_narayanan_t as Bikram pointed out, the credentials you are using are likely incorrect. Are you able to login to the ControlHub using the same credentials?

Also, the document URL you pointed out is for the StreamSets Platform, whereas it seems you are using the legacy ControlHub

Reply