anirudhbagri commented on issue #8160:
URL: https://github.com/apache/airflow/issues/8160#issuecomment-704494306


   For me, the error was because of wrong input. The API was expecting a list 
of string but I was sending only a single string.
   One strange thing to keep a look on is that if you are passing a template 
which collects result from some other operator like this then it didnt work for 
me 
   ``` python
   httpOperator(conn="{{ ti.xcom_pull("{0}", "{1}") }}".format(someval, 
otherval),...)
   ```
   Instead this one worked:
   
   ``` python
   endpoint = "{{ ti.xcom_pull("{0}", "{1}") }}".format(someval, otherval)
   httpOperator(conn=endpoint,...)
   ```


----------------------------------------------------------------
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.

For queries about this service, please contact Infrastructure at:
[email protected]


Reply via email to