bugraoz93 commented on issue #55414:
URL: https://github.com/apache/airflow/issues/55414#issuecomment-3271546013

   > [@bugraoz93](https://github.com/bugraoz93) ,When I try to reproduce this, 
it shows me...
   > 
   > ```
   > ...
   > root@78202b4db989:/opt/airflow# export AIRFLOW_CLI_TOKEN=admin
   > root@78202b4db989:/opt/airflow#  airflowctl auth login --api-url 
http://localhost:28080/api/v2 --env AIRFLOW_CLI_ENVIRONMENT
   > Please enter password for encrypted keyring:
   > Login successful! Welcome to airflowctl!
   > root@78202b4db989:/opt/airflow# airflowctl assets create-event --asset-id 1
   > Please enter password for encrypted keyring:
   > 2025-09-09 16:39:09 [warning  ] Server error                   
[airflowctl.api.client] extra={'detail': [{'type': 'dict_type', 'loc': ['body', 
'extra'], 'msg': 'Input should be a valid dictionary', 'input': None}]}
   > Server response error: Client error message: {'detail': [{'type':
   > 'dict_type', 'loc': ['body', 'extra'], 'msg': 'Input should be a
   > valid dictionary', 'input': None}]}
   > Client error,  Please check the command and its parameters. If you
   > need help, run the command with --help.
   > ```
   
   Thanks for checking @Prab-27!  `AIRFLOW_CLI_TOKEN` should be acquired from 
API manually because that is the JWT token. 


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: commits-unsubscr...@airflow.apache.org

For queries about this service, please contact Infrastructure at:
us...@infra.apache.org

Reply via email to