question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

Field 'createSnapshot' doesn't accept argument 'ref'

See original GitHub issue

CLI Installation method

  • NPM
  • Binary

Operating system

  • Mac
  • Windows
  • Linux

What you expected to happen

I expected npx calibre site create-snapshot --site=SITENAME to create a snapshot without an error.

What happened

When attempting to create a snapshot, I received an error: Field 'createSnapshot' doesn't accept argument 'ref'

I was attempting to pass in a reference id with --ref but this error is occurring whether or not I specify a ref.

Error: [ { message: 'Field \'createSnapshot\' doesn\'t accept argument \'ref\'', locations: [ [Object] ], fields: [ 'mutation CreateSnapshot', 'createSnapshot', 'ref' ] }, { message: 'Variable $ref is declared by CreateSnapshot but not used', locations: [ [Object] ], fields: [ 'mutation CreateSnapshot' ] } ]

Steps to Reproduce (for bugs)

  1. npm install --save calibre
  2. npx calibre site create-snapshot --site=SITENAME

Issue Analytics

  • State:closed
  • Created 5 years ago
  • Comments:5 (3 by maintainers)

github_iconTop GitHub Comments

1reaction
benschwarzcommented, Apr 25, 2018

@markdorison, thanks so much for the report.

I’ve been making changes behind the scenes and it looks as though I let one through that shouldn’t have gone through.

We’re going to make a fix immediately and roll it out in the next hour or so. Will keep you updated…

0reactions
markdorisoncommented, Apr 25, 2018

@benschwarz It looks like it is now resolved. Thanks for the assist.

Read more comments on GitHub >

github_iconTop Results From Across the Web

CreateSnapshot - Amazon Elastic Compute Cloud
Creates a snapshot of an EBS volume and stores it in Amazon S3. You can use snapshots for backups, to make copies of...
Read more >
00377: <value> does not support creating a snapshot— ...
You are sharing a query layer from a cloud data warehouse as a map image layer. Creating a snapshot is not supported for...
Read more >
Create Snapshot - OpenSearch documentation
Create snapshot. Creates a snapshot within an existing repository. To learn more about snapshots, see Snapshots.
Read more >
create-snapshot — AWS CLI 2.9.12 Command Reference
This parameter is only returned by DescribeSnapshots . The ID of the volume that was used to create the snapshot.
Read more >
Specification - OpenShift Documentation
driver is the name of the CSI driver used to create the physical snapshot on ... if the object reference is to a...
Read more >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found