Skip to content

[BUG] on-call pages get returning EOF while parsing value at line 1 column 0 #638

Description

@VicoF

Describe the bug

The on-call pages get command is failing to return something

To Reproduce

Steps to reproduce the behavior:

  1. Run command 'pup on-call pages get'
  2. With arguments <any page id>
  3. See error: failed to get page: EOF while parsing value at line 1 column 0

Expected behavior

The page description

Environment

  • OS: macos
  • Pup version: 1.6.2
  • Go version: [e.g. 1.21.0] (run go version)
  • Authentication method: OAuth2

Command output

Error: failed to get page: EOF while parsing value at line 1 column 0

Additional context

I tried running the API call directly with 'pup api -i v2/on-call/pages/' and it returned a 200 status code with content-length: 0

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugSomething isn't working

    Type

    No type

    Fields

    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions