Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Unable to create a customer.subscription.updated event with a given status #1012

Open
LeandroParisi opened this issue Dec 26, 2022 · 1 comment
Labels
bug Something isn't working

Comments

@LeandroParisi
Copy link

The more information we have the easier it is for us to help. Feel free to remove any sections that might not apply

Issue

I am trying to create via CLI a customer.subscription.update event with a given status that is not active.
I am thus running the following command:

stripe trigger customer.subscription.updated --override subscription:status=active

But I get an error from the terminal
`Trigger failed: Request failed, status=400, body={
"error": {
"code": "parameter_unknown",
"doc_url": "https://stripe.com/docs/error-codes/parameter-unknown",
"message": "Received unknown parameter: status",
"param": "status",
"request_log_url": "https://dashboard.stripe.com/test/logs/req_HDSf78aUqpHklF?t=1672071633",
"type": "invalid_request_error"
}
}

`

Expected Behavior

I would expect to be able to generate an event of subscription update with a given status

Steps to reproduce

  1. Run:
    stripe trigger customer.subscription.updated --override subscription:status=active
@LeandroParisi LeandroParisi added the bug Something isn't working label Dec 26, 2022
@fegzycole
Copy link

Hey guys, any update for this please?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

2 participants