When you add a polling trigger or search action to your integration, the Zapier platform expects a bare array of new or found items returned, sorted in reverse chronological order. An API may instead return a result object that contains the array of items the trigger/search needs.
https://api.github.com/repos/{{bundle.inputData.owner}}/ {{bundle.inputData.repo}}/issues/{{bundle.inputData.issue_number}}
request:
Results must be an array, got: object,
return results
, to have Zapier return an array of issues.
Remember: Code Mode is a toggle; if you switch back to Form Mode your code will be ignored!Now, retest the request and it should run successfully.