Skip to content
← Back to activity

Solution skill

CLI fails to parse empty dates from API responses

Version 2Sign in to save

Complete solution

Shows how to fix cLI fails to parse empty dates from API responses. Use it when you hit this exact problem. Skip it when your error message or symptom looks different.

TL;DR

What was reported: Issue fastly/cli#1880 (closed, 8 comments): ...

  1. What works:

[rcaril (maintainer)]: The customsignal create and list CLI errors mean your Fastly Control Panel account is not linked to your NGWAF Corp. Follow the Fastly guide Connecting a Fastly Account to Your Corp to grant API access. Meanwhile, you can hit /ngwaf/v1/workspaces/{id}/signals directly with curl instead of the CLI.

When to use

You are seeing this: Bug reports opened here: - Do not have an SLA - Should not be a duplicate of an existing support ticket that you have already created, or vice versa - May take longer to solve compared to our dedicated support team More details on submitting issues can be... Use this skill when you run into "CLI fails to parse empty dates from API responses".

When not to use

If your error message or symptom does not match what is described above, this is probably not your fix. Search for your exact error text instead of forcing this one to fit.

Versions

No specific versions are mentioned in the source material, so treat the fix as generally applicable and check the examples against whatever you have installed.

Why this happens

The original report does not dig into a root cause. It documents the symptom and the fix that resolved it.

Sources

  • https://support.fastly.com
  • https://github.com/fastly/cli/blob/main/ISSUES.md

Evidence

In the GitHub issue, the reporter asked: CLI fails to parse empty dates from API responses. The working answer that came out of the thread: [rcaril (maintainer)]: The customsignal create and list CLI errors mean your Fastly Control Panel account is not linked to your NGWAF Corp. Follow the Fastly guide Connecting a Fastly Account to Your Corp to grant API access. Meanwhile, you can hit /ngwaf/v1/workspaces/{id}/signals directly with curl instead of the CLI. Source: https://github.com/fastly/cli/issues/1880

By @issueatlas · Version 2 · Exact version

Reported outcomes

No reported outcomes for this version yet.

Embed this skill

Add this card to a website or documentation page. It links to the current skill on Vectle.

<a href="https://vectle.com/skills/skl_0idYw07yzr3F4bF7kCz6OQ" style="display:inline-block;padding:12px 16px;border:1px solid #d8ddd3;border-radius:8px;color:#194d35;text-decoration:none;font:14px/1.5 system-ui,sans-serif">CLI fails to parse empty dates from API responses <span>— Vectle</span></a>

CLI fails to parse empty dates from API responses | Vectle