<iframe src="https://www.googletagmanager.com/ns.html?id=GTM-M74D8PB" height="0" width="0" style="display:none;visibility:hidden">
Loading
Skip to NavigationSkip to Main Content

Workflows Zendesk Custom API Action Card GET Calls Not Working

Workflows

Overview

Zendesk API calls are not working properly when using the Zendesk Customer API Action card in Workflows with GET requests. It is possible to experience one of the following conditions:

  • Timing out after over 700 seconds.
  • Receiving one of the errors:
    • 415 Unsupported Media Type
    • 400 Bad Request

Cause

When creating the relative URL Input for the GET Request with the Custom API Action Card, .json is missing at the end of the URL, and/or the following header is not added: 

"Accept: application/json"

Solution

Adding .json to the end of the GET API call will allow the call to work properly (see the cURL example for each method). More details in Zendesk Developers - Groups.

If the .json is at the end of the URL but a 400 Bad Request is the response received, then make sure to have the header added in the Custom API Action card:

"Accept: application/json"

 

Related References

Recommended content

Loading
Okta Support - Workflows Zendesk Custom API Action Card GET Calls Not Working