jlazarevicm opened a new issue #8507:
URL: https://github.com/apache/airflow/issues/8507
<!--
Each zendesk call expects to have next_page in response:
`next_page = results['next_page']`
This is not true for endpoint like this:
`https://{subdomain}.zendesk.com/api/v2/tickets/{ticket_id}/tags.json`
So I got error when I tried to call this error with zendesk call function.
-->
<!--
IMPORTANT!!!
Please complete the next sections or the issue will be closed.
This questions are the first thing we need to know to understand the context.
-->
**Apache Airflow version**: 1.10.3
**Kubernetes version (if you are using kubernetes)** (use `kubectl
version`): -
**Environment**: local
- **Cloud provider or hardware configuration**: 2.5Ghz Intel Core i7, 16GB
- **OS** (e.g. from /etc/os-release): macOS Mojave
- **Kernel** (e.g. `uname -a`):
- **Install tools**:
- **Others**:
**What happened**:
<!--
File "workspace/lumos_airflow/dags/extensions/hooks/lumos_zendesk_hook.py"
response = self.call(end_point)
File
"workspace/lumos_airflow/venv/lib/python3.5/site-packages/airflow/hooks/zendesk_hook.py",
line 79, in call
next_page = results['next_page']
KeyError: 'next_page'
-->
**What you expected to happen**:
<!-- What do you think went wrong? -->
**How to reproduce it**:
<!---
Invoke call function for zendesk ticket comments endpoint.
## Install minikube/kind
- Minikube https://minikube.sigs.k8s.io/docs/start/
- Kind https://kind.sigs.k8s.io/docs/user/quick-start/
If this is a UI bug, please provide a screenshot of the bug or a link to a
youtube video of the bug in action
You can include images using the .md sytle of

To record a screencast, mac users can use QuickTime and then create an
unlisted youtube video with the resulting .mov file.
--->
**Anything else we need to know**:
<!--
Every time .
Any relevant logs to include? Put them here in side a detail tag:
<details><summary>x.log</summary> lots of stuff </details>
-->
----------------------------------------------------------------
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]