Question

Zapier Platform CLI not able to retrieve HTTP logs

  • 16 October 2023
  • 0 replies
  • 42 views

Hi, I am using the Zapier Platform to build a custom integration to our API. I am using the CLI to test and upload my integration to the Zapier Platform (private access only). Below is my environment: 

zapier --version

* CLI version: 15.0.1
* Node.js version: v18.9.0
* OS info: darwin-x64
* `zapier-platform-core` dependency: 15.4.1

I have used my integration within a Zap and it runs successfully and I can see the console logs:

zapier logs --type=console
✔ Loading logs
┌────────────────────────────────┬─────────┬──────┬───────────────────────────┐
│ Log │ Version │ Step │ Timestamp │
├────────────────────────────────┼─────────┼──────┼───────────────────────────┤
│ Requested leave balance report │ 1.4.0 │ │ 2023-10-15T22:08:17-05:00 │
└────────────────────────────────┴─────────┴──────┴───────────────────────────┘

However, if I try and get the HTTP logs, I get nothing in response:

zapier logs --type=http
✔ Loading logs
No logs found. Try adding some `z.request()`, `z.console.log()` and doing a `zapier push`!

 

My custom action uses `z.request` and the response is received successfully, I just can’t work out why the requests aren’t being logged. Any help is appreciated.


0 replies

Be the first to reply!

Reply