IllegalArgumentException: Username may not be null

Solved!
benarl
Level 2
IllegalArgumentException: Username may not be null

Hello !

I'm having trouble with the real time deployement tutorial.

I want to deploy an Api at the final step : from the api deployer to the api node.

But i get this error :โ€ƒ

Capture dโ€™รฉcran de 2021-11-10 10-53-46.png

For information :

  • I use the Project Tutorial from project page : New Project -> DSS Tutorial -> Automation -> Deployment
  • Using linux, dss 8.0.2
  • I'm using the license : Free Edition (with advanced features trial),
  • In the design node the api was working with test queries
  • I created an infrastructure of type "Static" and lifecycle : "Development"

Any idea what this username error has to do here ?

Thanks

0 Kudos
1 Solution
sergeyd
Dataiker

Hi @benarl 

Can you post a screenshot of your Infrastructure->API nodes? 

I am asking this because you might have an API key missing there. You will need to follow the directions in our documentation: https://doc.dataiku.com/dss/latest/apinode/api-deployment-infrastructures.html#create-your-first-inf... to generate a key and add it to the infrastructure. 

View solution in original post

3 Replies
sergeyd
Dataiker

Hi @benarl 

Can you post a screenshot of your Infrastructure->API nodes? 

I am asking this because you might have an API key missing there. You will need to follow the directions in our documentation: https://doc.dataiku.com/dss/latest/apinode/api-deployment-infrastructures.html#create-your-first-inf... to generate a key and add it to the infrastructure. 

benarl
Level 2
Author

That's right, i missed the API key.

Unfortunately I can't go any further because i don't have the right license for starting an API Node.

Capture dโ€™รฉcran de 2021-11-10 15-01-26.png

But thank you @sergeyd  i know how to proceed now !

0 Kudos
sergeyd
Dataiker

@benarl 

Glad to hear you were able to resolve that.

Yes, the API node requires a proper license to use it. And to get an API key you need to have it running.