#ashish_webhooks

1 messages ยท Page 1 of 1 (latest)

wispy onyxBOT
#

๐Ÿ‘‹ Welcome to your new thread!

โฒ๏ธ We'll be here soon! Typically we respond in a few minutes, but sometimes we might take a bit longer if the server is busy or if you have a particularly tricky question.

โฑ๏ธ We close idle threads, which makes them read-only. Once a thread is closed it won't be reopened, but you can always start a new thread if you have another question.

๐Ÿ”— This thread will always be available, even after it's closed. You can find it again using Discord's search, or you can save this link: https://discord.com/channels/841573134531821608/1296560255731499171

๐Ÿ“ Have more to share? Add more details, code, screenshots, videos, etc. below.

glossy meadowBOT
hollow panther
native dawn
#

Any other way without the cli?

hollow panther
#

Not that I'm readily aware of

native dawn
#

Alright ill try that then

#

I keep getting an error when trying to open stripe.exe

hollow panther
native dawn
#

Nevermind solved it

native dawn
hollow panther
#

Ah gotcha, sounds like it wasn't getting added to your global path or the terminal wasn't picking up the path change.

native dawn
#

Probably. Just to confirm, this would be the command right?
stripe events resend evt_1QAvn8AaUAsw03BSZ6GG99Uf --webhook-endpoints=we_1QAzWjAaUAsw03BSco40n1hl

#

Okay

#

tried it, but now i get this error: ```js
{
"error": {
"code": "resource_missing",
"doc_url": "https://stripe.com/docs/error-codes/resource-missing",
"message": "No such notification: 'evt_1QAvn8AaUAsw03BSZ6GG99Uf'; a similar object exists in live mode, but a test mode key was used to make this request.",
"param": "id",
"type": "invalid_request_error"
}
}

hollow panther
#

Ah, that's right, you'll also need to include the --live option to run the request in livemode

native dawn
#

ah ic thanks

#
{
  "error": {
    "message": "The provided key 'rk_live_*********************************************************************************************KalwcF' does not have the required permissions for this endpoint on account 'acct_1P407cAaUAsw03BS'.  Please use a different key to perform this action.",
    "type": "invalid_request_error"
  }
}
hollow panther
#

Hhmm, that I'm less sure about. Is there a string with an req_ prefix anywhere in what you're seeing?

native dawn
#

let me check

#

No i don't see it, what is that used for

hollow panther
#

That's the ID we use to identify requests on our end, which would let me take a closer look at what exactly was going on.

native dawn
#

is that something im able to find somewhere? im not suree where i can obtain the key

hollow panther
#

No I don't think so. I think this is getting blocked before the request is given an ID, but I was hopeful I was mistaken.

native dawn
#

oh

#

i think it's because the permissions are only set to read, let me try editing that

#

yup

#

that was it, it's working now

hollow panther
#

Oh nice! For my knowledge, how did you do that? Were you able to modify the restricted key in the dashboard?

native dawn
hollow panther
#

Gotcha, thanks for sharing that! Glad to hear you were able to get it working.