#r3v3rb
1 messages · Page 1 of 1 (latest)
Hi there
The CLI defaults to testmode. You need to use the --live flag to use live mode (see: https://stripe.com/docs/cli/get#get-live)
This tells me I do not have permission 😄
Hmm what is the error exactly?
@glass jewel "The provided key 'rk_live_*********************************************************************************************Wff5c1' does not have the required permissions for this endpoint on account 'acct_14...' Having the 'rak_plan_write' permission would allow this request to continue."
Any way around that?
The restricted key needs to be created with the correct permissions as the error states
Otherwise you need your account's secret key
Thats the thing I logged in using the --api-key sk_live...
Is that not enough?
or not the way to do it?
Hmm I thought that should work but maybe not. Try setting the API key explicitly in the request using the --api-key flag
Glad it is working. Not sure why it didn't override the config when you logged in