Your data. Anywhere you go.

New Relic for iOS or Android


Download on the App Store    Android App on Google play


New Relic Insights App for iOS


Download on the App Store


Learn more

Close icon

New Relic One terms and conditions


#1

Hi,
I can’t use NR one cli, where are this terms and conditions hidding?

nr1 nerdpack:uuid -gf --verbose --profile prod
init version: @oclif/command@1.5.19 argv: [ ‘-gf’, ‘–verbose’, ‘–profile’, ‘prod’, [length]: 4 ]
Using profile prod
Request: POST https://artifact-registry.service.newrelic.com/graphql
Data: mutation {
generatePackageUuid
}
Headers: {
‘API-Key’: ‘XXX’,
‘Content-Type’: ‘application/graphql’
}

Sending usage event cliError
:heavy_multiplication_x: Error: Please accept the New Relic Developer Terms and Conditions prior to executing this operation.

{ locations: [ { line: 3, column: 17 } ],
path: [ ‘generatePackageUuid’ ],
extensions: { type: ‘TERMS_AND_CONDITIONS_NOT_ACCEPTED’ },
code: ‘TERMS_AND_CONDITIONS_NOT_ACCEPTED’,
origin: ‘graphql-service’ }

BTW, I tryed to create a support ticket, but after ticket submit i only get a white screen and no ticket filed.


#2

Hi @bfalese1 -

From the New Relic One landing page, when you hit Build your own applications (the launcher that takes you to the CLI download), there are some Terms and Conditions you must accept when you generate an API key.

Can you go there to try accept the terms & then try your CLI commands again?


#3

Thanks, that did it.

It’s everything so white that i did not saw it.


#4

Glad it’s sorted now! Thanks for marking the solution :smiley:


#5

Hi, @RyanVeitch ,
I have absolutely the same issue with accepting terms and conditions, but when I’m changing to the page " Build New Relic One applications" I do not see any button/checkbox/link which can be used to “accept terms and conditions”
I’m downloading NR1 cli to the ubuntu Linux VM. But even if I choose the download to mac I do not see any prompt to accept something


#6

Hi @AAASeva - Are you getting errors in the CLI that indicate you need to accept T&Cs?

I’d expect an error on the page you screenshotted if you hadn’t yet accepted the terms and conditions…

(Side note - I edited your post to obfuscate your API keys)


#7

Hi, @RyanVeitch,
thank you for the prompt answer.
Sorry I will remove/obfuscate API keys from my posts later.
Yes, the CLI output is below

seva@NewRelic-Lab01:~$ nr1 nerdpack:uuid -gf --verbose
init version: @oclif/command@1.5.19 argv: [ ‘-gf’, ‘–verbose’, [length]: 2 ]
:heavy_multiplication_x: Error: This command can only be ran inside of a Nerdpack
seva@NewRelic-Lab01:~$ cd nr1-top/
seva@NewRelic-Lab01:~/nr1-top$ nr1 nerdpack:uuid -gf --verbose
init version: @oclif/command@1.5.19 argv: [ ‘-gf’, ‘–verbose’, [length]: 2 ]
Using profile V.Semouchin
Request: POST https://artifact-registry.service.eu.newrelic.com/graphql
Data: mutation {
generatePackageUuid
}
Headers: {
‘API-Key’: ‘XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX’,
‘Content-Type’: ‘application/graphql’
}

Sending usage event cliError
:heavy_multiplication_x: Error: Please accept the New Relic Developer Terms and Conditions prior to executing this operation.

{ locations: [ { line: 3, column: 17 } ],
path: [ ‘generatePackageUuid’ ],
extensions: { type: ‘TERMS_AND_CONDITIONS_NOT_ACCEPTED’ },
code: ‘TERMS_AND_CONDITIONS_NOT_ACCEPTED’,
origin: ‘graphql-service’ }
seva@NewRelic-Lab01:~/nr1-top$ cd …

Is it possible to accept terms and conditions in the CLI?


#8

I’m wondering if this is an API key issue.

In the UI Screenshot the API key that is checked :heavy_check_mark: ends in: KM7, whereas the one you use in your CLI commands, is: 15M

Would you be able to use the KM7 key in the CLI?

OR, alternatively, click the 15M key in the UI and see if that prompts you for the terms and conditions?


#9

HI, @RyanVeitch,

I tried both

  1. I selected one-by-one all three keys, but this does not lead me to prompt for terms and conditions.
  2. I selected the …KM7 key - see the screenshot

And rebuild everything from scratch

init version: @oclif/command@1.5.19 argv: [ ‘-s’, ‘–verbose’, [length]: 2 ]
Name Region API key


V.Semouchin (default) eu NRAK-XXXXXXXXXXXXXXXXXXXXKM7

seva@NewRelic-Lab01:~$ nr1 nerdpack:uuid -gf --verbose
init version: @oclif/command@1.5.19 argv: [ ‘-gf’, ‘–verbose’, [length]: 2 ]
:heavy_multiplication_x: Error: This command can only be ran inside of a Nerdpack
seva@NewRelic-Lab01:~$ cd nr1-top/
seva@NewRelic-Lab01:~/nr1-top$ nr1 nerdpack:uuid -gf --verbose
init version: @oclif/command@1.5.19 argv: [ ‘-gf’, ‘–verbose’, [length]: 2 ]
Using profile V.Semouchin
Request: POST https://artifact-registry.service.eu.newrelic.com/graphql
Data: mutation {
generatePackageUuid
}
Headers: {
‘API-Key’: ‘NRAK-XXXXXXXXXXXXXXXXXXXXXKM7’,
‘Content-Type’: ‘application/graphql’
}

Sending usage event cliError
:heavy_multiplication_x: Error: Please accept the New Relic Developer Terms and Conditions prior to executing this operation.

{ locations: [ { line: 3, column: 17 } ],
path: [ ‘generatePackageUuid’ ],
extensions: { type: ‘TERMS_AND_CONDITIONS_NOT_ACCEPTED’ },
code: ‘TERMS_AND_CONDITIONS_NOT_ACCEPTED’,
origin: ‘graphql-service’ }
seva@NewRelic-Lab01:~/nr1-top$


#10

Sorry I’m trying to post the whole log, but always my post is rejected with the message:

What should I do to get ride of it? Remove URLs?


#11

Could you try to DM that to me? If that doesn’t work, then yes, remove the URLs, I’m not sure what URL the Explorers Hub is blocking but I’d like to see the full log.

Thanks @AAASeva


#12

Hi, @RyanVeitch

Could you try to DM that to me?
Sorry for my ignorance, what is “DM”?

Tried to upload the .txt file, but as new user I can’t

Could you try to DM that to me? I
Sorry for my ignorance, what is “DM”?

  1. –show_keys option at profiles:list throws an exception
    seva@NewRelic-Lab01:~$ nr1 profiles:list --verbose --show_keys
    init version: @oclif/command@1.5.19 argv: [ ‘–verbose’, ‘–show_keys’, [length]: 2 ]
    Sending usage event cliError
    :heavy_multiplication_x: Error: Unexpected argument: --show_keys
    See more help with --help
    at validateArgs (/usr/lib/newrelic-cli/node_modules/@oclif/parser/lib/validate.js:10:19)
    at Object.validate (/usr/lib/newrelic-cli/node_modules/@oclif/parser/lib/validate.js:57:5)
    at Object.parse (/usr/lib/newrelic-cli/node_modules/@oclif/parser/lib/index.js:26:7)
    at ProfilesListCommand.parse (/usr/lib/newrelic-cli/node_modules/@oclif/command/lib/command.js:83:41)
    at ProfilesListCommand.run (/usr/lib/newrelic-cli/node_modules/@datanerd/3pp-cli-profiles/src/commands/profiles/list.js:8:30)
    at ProfilesListCommand._run (/usr/lib/newrelic-cli/node_modules/@oclif/command/lib/command.js:44:31)
    seva@NewRelic-Lab01:~$ nr1 profiles:list --show_keys
    :heavy_multiplication_x: Error: Unexpected argument: --show_keys
    See more help with --help

  2. Now with -s it works

seva@NewRelic-Lab01:~$ nr1 profiles:list -s
Name Region API key


V.Semouchin (default) eu NRAK-XXXXXXXXXXXXXXXXXXX15M

seva@NewRelic-Lab01:~$ nr1 profiles:list -s --verbose
init version: @oclif/command@1.5.19 argv: [ ‘-s’, ‘–verbose’, [length]: 2 ]
Name Region API key


V.Semouchin (default) eu NRAK-XXXXXXXXXXXXXXXXXXXX15M

seva@NewRelic-Lab01:~$ nr1 profiles:remove V.Semouchin --verbose
init version: @oclif/command@1.5.19 argv: [ ‘V.Semouchin’, ‘–verbose’, [length]: 2 ]
:heavy_check_mark: Removed profile V.Semouchin.
seva@NewRelic-Lab01:~$ nr1 profiles:add --name v-semouchin --api-key NRAK-XXXXXXXXXXXXXXXXXXKM7 --region eu
:heavy_check_mark: Added profile v-semouchin.

seva@NewRelic-Lab01:~$ nr1 nerdpack:clone -r https(:slight_smile://github.com/newrelic/nr1-top.git --force --verbose
init version: @oclif/command@1.5.19 argv: [ ‘-r’,
‘nr1-top.git’,
‘–force’,
‘–verbose’,
[length]: 4 ]
Sending usage event cliClone
Cloning repository…
Cloning into ‘/home/seva/nr1-top’…
remote: Enumerating objects: 161, done.
remote: Counting objects: 100% (161/161), done.
remote: Compressing objects: 100% (113/113), done.
remote: Total 427 (delta 84), reused 104 (delta 38), pack-reused 266
Receiving objects: 100% (427/427), 2.24 MiB | 3.86 MiB/s, done.
Resolving deltas: 100% (219/219), done.
Setting repo as remote upstream…
Installing dependencies…

core-js-pure@3.6.4 postinstall /home/seva/nr1-top/node_modules/core-js-pure
node -e “try{require(’./postinstall’)}catch(e){}”

Thank you for using core-js ( zloirock/core-js ) for polyfilling JavaScript standard library!

The project needs your help! Please consider supporting of core-js on Open Collective or Patreon:

core-js
zloirock

Also, the author of core-js ( zloirock ) is looking for a good job -)

added 330 packages in 84.21s

┌────────────────────────────────────────────────────────┐
│ npm update check failed │
│ Try running with sudo or get access │
│ to the local update config store via │
│ sudo chown -R $USER:$(id -gn $USER) /home/seva/.config │
└────────────────────────────────────────────────────────┘
Re-generating UUID…
:heavy_multiplication_x: Error: The operation you are trying to perform requires an API key

The profile V.Semouchin does not exist in your profile keychain or does not have
API key and API region.

You can try:
⁎ List of your profiles with “nr1 profiles:list”
⁎ Run this command with a different profile (add “–profile profile-name”)
⁎ Configure a new profile through the website:

Sending usage event cliError
:heavy_multiplication_x: Error: Error on command: nr1 nerdpack:uuid --generate --force
seva@NewRelic-Lab01:~$


#13

This is saying now that your profile doesn’t exist in the keychain or has no API key…

Could you run:

nr1 profiles:list -s

And send back a screenshot? (though, obfuscate your API keys :slight_smile: )

I want to make sure the profile there looks ok!


#14

Hi, @RyanVeitch,

honestly to say if you will scroll the script up you will see how I create the profile and set it as default - following is a party of the command history:

146 nr1 profiles:remove v-semouchin --verbose
147 nr1 profiles:add --name V.Semouchin --api-key NRAK-XXXXXXXXXXXXXXXXXXXXKM7 --region eu
148 nr1 profile --help
149 nr1 profiles --help
150 nr1 profiles:default --help
151 nr1 profiles:default -n V.Semouchin --profile=V.Semouchin --verbose
152 nr1 profiles:default
153 sudo nr1 nerdpack:clone -r https://github.com/newrelic/nr1-top.git --force --verbose
154 sudo chown -R $USER:$(id -gn $USER) $HOME/.config

and now still one time:
seva@NewRelic-Lab01:~/nr1-top$ nr1 profiles:list -s
Name Region API key


V.Semouchin (default) eu NRAK-XXXXXXXXXXXXXXXXXXXXXKM7


#15

I did see you creating the profile, which made it weird to see the error citing a lack of profile.

I’m going to tag in @dgolden & @joelworrall who may have more ideas than me to find a fix here.


New Relic One Top Nerdpack
#16

Hi, Guys
@RyanVeitch @dgolden @joelworrall
I tried to remove all existing API keys from my account and then recreate the new one. In another thread Programmability -> Need to accept terms and conditions, @mtsou claimed, that that could help. In my case it does not work. After the new key was created I was NOT brought to the popup where I should agree with terms and conditions.

I tried to rebuild the app and got the same error

seva@NewRelic-Lab01:~$ nr1 profiles:remove V.Semouchin --verbose
init version: @oclif/command@1.5.19 argv: [ ‘V.Semouchin’, ‘–verbose’, [length]: 2 ]
:heavy_check_mark: Removed profile V.Semouchin.
seva@NewRelic-Lab01:~$ nr1 profiles:add --name V.Semouchin --api-key NRAK-XXXXXXXXXXXXXXXXXQUY --region eu
:heavy_check_mark: Added profile V.Semouchin.
seva@NewRelic-Lab01:~$ nr1 profiles:list -s --verbose
init version: @oclif/command@1.5.19 argv: [ ‘-s’, ‘–verbose’, [length]: 2 ]
Name Region API key


V.Semouchin (default) eu NRAK-XXXXXXXXXXXXXXXXXQUY

seva@NewRelic-Lab01:~$ nr1 profiles:default -n V.Semouchin --profile=V.Semouchin --verbose
init version: @oclif/command@1.5.19 argv: [ ‘-n’,
‘V.Semouchin’,
‘–profile=V.Semouchin’,
‘–verbose’,
[length]: 4 ]
seva@NewRelic-Lab01:~$ sudo chown -R $USER:$(id -gn $USER) $HOME/.newrelic
[sudo] password for seva:
seva@NewRelic-Lab01:~$ sudo chown -R $USER:$(id -gn $USER) $HOME/.config
seva@NewRelic-Lab01:~$ sudo rm -R nr1-top/
seva@NewRelic-Lab01:~$ sudo nr1 nerdpack:clone -r [GITHUB]newrelic/nr1-top.git --force --verbose
init version: @oclif/command@1.5.19 argv: [ ‘-r’,
‘[GITHUB]newrelic/nr1-top.git’,
‘–force’,
‘–verbose’,
[length]: 4 ]
Sending usage event cliClone
Cloning repository…
Cloning into ‘/home/seva/nr1-top’…
remote: Enumerating objects: 161, done.
remote: Counting objects: 100% (161/161), done.
remote: Compressing objects: 100% (113/113), done.
remote: Total 427 (delta 84), reused 104 (delta 38), pack-reused 266
Receiving objects: 100% (427/427), 2.24 MiB | 8.66 MiB/s, done.
Resolving deltas: 100% (219/219), done.
Setting repo as remote upstream…
Installing dependencies…

core-js-pure@3.6.4 postinstall /home/seva/nr1-top/node_modules/core-js-pure
node -e “try{require(’./postinstall’)}catch(e){}”

Thank you for using core-js ( [GITHUB]zloirock/core-js ) for polyfilling JavaScript standard library!

The project needs your help! Please consider supporting of core-js on Open Collective or Patreon:

https://opencollective.com/core-js
https://www.patreon.com/zloirock

Also, the author of core-js ( [GITHUB]zloirock ) is looking for a good job -)

added 330 packages in 61.88s
Re-generating UUID…
:heavy_multiplication_x: Error: Please accept the New Relic Developer Terms and Conditions prior to executing this operation.

:information_source: You can run this command with “–verbose” for more info.
Sending usage event cliError
:heavy_multiplication_x: Error: Error on command: nr1 nerdpack:uuid --generate --force
seva@NewRelic-Lab01:~$ nr1 nerdpack:uuid --generate --force --verbose
init version: @oclif/command@1.5.19 argv: [ ‘–generate’, ‘–force’, ‘–verbose’, [length]: 3 ]
:heavy_multiplication_x: Error: This command can only be ran inside of a Nerdpack
seva@NewRelic-Lab01:~$ cd nr1-top/
seva@NewRelic-Lab01:~/nr1-top$ nr1 nerdpack:uuid --generate --force --verbose
init version: @oclif/command@1.5.19 argv: [ ‘–generate’, ‘–force’, ‘–verbose’, [length]: 3 ]
Using profile V.Semouchin
Request: POST https://artifact-registry.service.eu.newrelic.com/graphql
Data: mutation {
generatePackageUuid
}
Headers: {
‘API-Key’: ‘NRAK-XXXXXXXXXXXXXXXXXQUY’,
‘Content-Type’: ‘application/graphql’
}

Sending usage event cliError
:heavy_multiplication_x: Error: Please accept the New Relic Developer Terms and Conditions prior to executing this operation.

{ locations: [ { line: 3, column: 17 } ],
path: [ ‘generatePackageUuid’ ],
extensions: { type: ‘TERMS_AND_CONDITIONS_NOT_ACCEPTED’ },
code: ‘TERMS_AND_CONDITIONS_NOT_ACCEPTED’,
origin: ‘graphql-service’ }
seva@NewRelic-Lab01:~/nr1-top$


#17

Good morning @AAASeva - I heard from some colleagues over the weekend who suggested you may not be getting the prompt to accept terms and conditions if you are viewing the UI in https://one.newrelic.com

Your accounts are EU datacenter based. So could you try going to https://one.eu.newrelic.com

Could you ensure you are in the EU New Relic One UI and head over to the Build on New Relic Launcher to see if that gets you the T&Cs to accept?


#18

Thank you @RyanVeitch, that works!


#19

Fantastic! Glad that got it for you :smiley: Hopefully you can get going with the Top and other nerdpacks now!


#20

Hi, @RyanVeitch,
sorry for disturbing again.
I created nr1-top successfully. But still cannot see it at the URL (tried both)

https://one.eu.newrelic.com/?nerdpacks=local
https://one.newrelic.com/?nerdpacks=local

During the build phase there were some warnings about missing pages.

nr1Install.sh running npm install
npm WARN @ newrelic/eslint-plugin-newrelic@0.3.0 requires a peer of prettier@^1.18.2 but none is installed. You must install peer dependencies yourself.
npm WARN @ newrelic/nr1-community@1.1.1 requires a peer of nr1@ but none is installed. You must install peer dependencies yourself.
npm WARN @semantic-release/changelog@3.0.6 requires a peer of semantic-release@>=15.8.0 <16.0.0 || >=16.0.0-beta <17.0.0 but none is installed. You must install peer dependencies yourself.
npm WARN @semantic-release/git@7.0.18 requires a peer of semantic-release@>=15.4.0 <16.0.0 but none is installed. You must install peer dependencies yourself.
npm WARN tsutils@3.17.1 requires a peer of typescript@>=2.8.0 || >= 3.2.0-dev || >= 3.3.0-dev || >= 3.4.0-dev || >= 3.5.0-dev || >= 3.6.0-dev || >= 3.6.0-beta || >= 3.7.0-dev || >= 3.7.0-beta but none is installed. You must install peer dependencies yourself.
audited 332 packages in 2.904s

I tried to add those packages, but got the following messages (sorry I’m not very experienced with the npm)

seva@NewRelic-Lab01:~$ sudo npm install typescript@latest
npm WARN seva No description
npm WARN seva No repository field.
npm WARN seva No license field.
+ typescript@3.9.2
removed 1 package, updated 1 package and audited 1 package in 1.289s
found 0 vulnerabilities
seva@NewRelic-Lab01:~$ sudo npm install prettier@^1.18.2
npm WARN seva No description
npm WARN seva No repository field.
npm WARN seva No license field.
+ prettier@1.19.1
added 1 package from 1 contributor and audited 2 packages in 0.477s
found 0 vulnerabilities
seva@NewRelic-Lab01:~$ sudo npm install semantic-release@>=15.8.0
npm WARN seva No description
npm WARN seva No repository field.
npm WARN seva No license field.
seva@NewRelic-Lab01:~$ sudo npm install nr1@
npm WARN seva No description
npm WARN seva No repository field.
npm WARN seva No license field.

The full installation log is here

Installation script is here