-
Notifications
You must be signed in to change notification settings - Fork 94
Open
Labels
Description
Description
Trying to setup pdg-sdk on my new laptop, creating a new api-key on my account. Then after rover config auth it does not work. My overrides Platform Data Graph (staging) (Contributor) Platform Data Graph (development) (Contributor)
slawomir.szlosarczyk ~/Code/zendesk $ brew install platform-data-graph-sdk
Warning: zendesk/zendesk/platform-data-graph-sdk 1.277.0 is already installed and up-to-date.
To reinstall 1.277.0, run:
brew reinstall platform-data-graph-sdk
slawomir.szlosarczyk ~/Code/zendesk $ platform-data-graph-sdk rover config auth
Go to https://studio.apollographql.com/user-settings/api-keys and create a new Personal API Key.
Copy the key and paste it into the prompt below.
>
Successfully saved API key. Consider running `rover config whoami` to verify your API authentication.
slawomir.szlosarczyk ~/Code/zendesk $ platform-data-graph-sdk rover config whoami
Checking identity of your API key against the registry.
Houston, we have a problem. Rover crashed!
To help us diagnose the problem you can send us a crash report.
You can submit an issue with the crash report at this link: https://github.com/apollographql/rover/issues/new?...=bug_report.md
We take privacy seriously, and do not perform any automated error collection. In order to improve the software, we rely on people to submit reports.
Thanks for your patience!
Rover command with options config,whoami. Exit code 101
Crash Report
name = "rover"
operating_system = "unix:OSX"
crate_version = "0.27.2"
explanation = """
Panic occurred in file 'crates/rover-graphql/src/lib.rs' at line 43
"""
cause = "called `Option::unwrap()` on a `None` value"
method = "Panic"
backtrace = """
0: 0x103bb9edc - _rust_begin_unwind
1: 0x103c297af - core::panicking::panic_fmt::hff6bcefe3b08b0dc
2: 0x103c29854 - core::panicking::panic::h961347dd3cfa2227
3: 0x103c29728 - core::option::unwrap_failed::h7ef143b15be81c0f
4: 0x10378ccb4 - <rover_graphql::SimplifiedErrorList as core::convert::From<&alloc::vec::Vec<graphql_client::Error>>>::from::h118e8327e5070475
5: 0x103147eb0 - <rover_graphql::GraphQLService<S> as tower_service::Service<rover_graphql::GraphQLRequest<Q>>>::call::{{closure}}::h6282a4938c0c3a80
6: 0x103214d74 - <rover_client::operations::config::who_am_i::service::WhoAmI<S> as tower_service::Service<rover_client::operations::config::who_am_i::service::WhoAmIRequest>>::call::{{closure}}::h8ea098dac62d0f0e
7: 0x102f7b4d8 - rover::cli::Rover::execute_command::{{closure}}::hc70f8d24a3455a7b
8: 0x102fdee0e - tokio::runtime::park::CachedParkThread::block_on::h1b528c97fe6a26bd
9: 0x1031e81f2 - tokio::runtime::context::runtime::enter_runtime::he6a77e46ad60bd17
10: 0x103167dfd - tokio::runtime::runtime::Runtime::block_on::h48c188b092de7152
11: 0x103103a5b - rover::main::h3a17e7b37af4d669
12: 0x103219a26 - std::sys::backtrace::__rust_begin_short_backtrace::h86f33b5c56e0f02a
13: 0x10317c5cc - std::rt::lang_start::{{closure}}::hb38f7d059cec52e8
14: 0x103bab018 - std::rt::lang_start_internal::h15700bbdbfd6863b
15: 0x103103c4c - _main"""