You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@airflow.apache.org by GitBox <gi...@apache.org> on 2022/04/11 08:03:52 UTC

[GitHub] [airflow] tirkarthi opened a new issue, #22897: Invalid JSON metadata in get_logs_with_metadata causes server error.

tirkarthi opened a new issue, #22897:
URL: https://github.com/apache/airflow/issues/22897

   ### Apache Airflow version
   
   2.2.5 (latest released)
   
   ### What happened
   
   Invalid JSON metadata in get_logs_with_metadata causes server error. The `json.loads` exception is not handled like validation in other endpoints.
   
   http://127.0.0.1:8080/get_logs_with_metadata?execution_date=2015-11-16T14:34:15+00:00&metadata=invalid
   
   ### What you think should happen instead
   
   A proper error message can be returned
   
   ### How to reproduce
   
   Accessing below endpoint with invalid metadata payload
   
   http://127.0.0.1:8080/get_logs_with_metadata?execution_date=2015-11-16T14:34:15+00:00&metadata=invalid
   
   ### Operating System
   
   Ubuntu 20.04
   
   ### Versions of Apache Airflow Providers
   
   _No response_
   
   ### Deployment
   
   Virtualenv installation
   
   ### Deployment details
   
   _No response_
   
   ### Anything else
   
   _No response_
   
   ### Are you willing to submit PR?
   
   - [X] Yes I am willing to submit a PR!
   
   ### Code of Conduct
   
   - [X] I agree to follow this project's [Code of Conduct](https://github.com/apache/airflow/blob/main/CODE_OF_CONDUCT.md)
   


-- 
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-unsubscribe@airflow.apache.org.apache.org

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


[GitHub] [airflow] boring-cyborg[bot] commented on issue #22897: Invalid JSON metadata in get_logs_with_metadata causes server error.

Posted by GitBox <gi...@apache.org>.
boring-cyborg[bot] commented on issue #22897:
URL: https://github.com/apache/airflow/issues/22897#issuecomment-1094677982

   Thanks for opening your first issue here! Be sure to follow the issue template!
   


-- 
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-unsubscribe@airflow.apache.org

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


[GitHub] [airflow] potiuk closed issue #22897: Invalid JSON metadata in get_logs_with_metadata causes server error.

Posted by GitBox <gi...@apache.org>.
potiuk closed issue #22897: Invalid JSON metadata in get_logs_with_metadata causes server error.
URL: https://github.com/apache/airflow/issues/22897


-- 
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-unsubscribe@airflow.apache.org

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