Skip to main content
Question

Create issue test returns 404 when running zapier-platform-example-app-github

  • October 9, 2020
  • 0 replies
  • 1098 views

I’m getting the following error with the zapier-platform-example-app-github when I try the step in the guide at https://zapier.com/developer/start/testing-your-app.

Using CLI version 10.1.1

Any ideas what is going wrong?

Running test suite.


  basic authentication
    ✓ should authenticate (381ms)

  issue trigger
    ✓ should get an issue (320ms)
    1) should create an issue
(node:77065) [DEP0097] DeprecationWarning: Using a domain property in MakeCallback is deprecated. Use the async_context variant of MakeCallback or the AsyncResource class instead.

  repo trigger
    ✓ should get a repo (335ms)


  3 passing (1s)
  1 failing

  1) issue trigger
       should create an issue:
     Unexpected status code 404
What happened:
  Starting POST request to https://api.github.com/repos/els-pm-mattstratford/zapier-platform-example-app-github/issues
  Received 404 code from https://api.github.com/repos/els-pm-mattstratford/zapier-platform-example-app-github/issues after 212ms
  Received content "{"message":"Not Found","documentation_url":"https://docs.github.com/rest/reference/issues#create-an-"
  Unexpected status code 404
  Error: Unexpected status code 404
      at handleHTTPError (/Users/mattstratford/Documents/GitHub/zapier-platform-example-app-github/index.js:8:11)
      at Object.collector.then.newOutput (/Users/mattstratford/Documents/GitHub/zapier-platform-example-app-github/node_modules/zapier-platform-core/src/middleware.js:80:37)
      at bound (domain.js:402:14)
      at Object.runBound (domain.js:415:12)
      at Object.tryCatcher (/Users/mattstratford/Documents/GitHub/zapier-platform-example-app-github/node_modules/bluebird/js/release/util.js:16:23)
      at Promise._settlePromiseFromHandler (/Users/mattstratford/Documents/GitHub/zapier-platform-example-app-github/node_modules/bluebird/js/release/promise.js:512:31)
      at Promise._settlePromise (/Users/mattstratford/Documents/GitHub/zapier-platform-example-app-github/node_modules/bluebird/js/release/promise.js:569:18)
      at Promise._settlePromise0 (/Users/mattstratford/Documents/GitHub/zapier-pl
Did this topic help you find an answer to your question?
This post has been closed for comments. Please create a new post if you need help or have a question about this topic.