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

Error canceling subscription: error serializing or deserializing a request #627

Open
imotai opened this issue Oct 28, 2024 · 0 comments
Open
Labels
bug Something isn't working

Comments

@imotai
Copy link

imotai commented Oct 28, 2024

Describe the bug

The Stripe subscription was successfully deleted, but an error occurred while serializing or deserializing the request when calling Subscription::delete.

To Reproduce

the following is how I use the Subscription::delete

StripeSubscription::delete(&self.stripe_client, &stripe_sub_id)

Expected behavior

return Ok

Code snippets

StripeSubscription::delete(&self.stripe_client, &stripe_sub_id)
                    .await
                    .map_err(|e| {
                        warn!("Error canceling subscription: {}", e);
                        Status::internal(e.to_string())
                    })?;

OS

ubuntu 22.04

Rust version

rustc 1.83.0-nightly

Library version

async-stripe = { version="0.39.1", features=["runtime-tokio-hyper"] }

API version

pub const VERSION: ApiVersion = ApiVersion::V2023_10_16;

Additional context

No response

@imotai imotai added the bug Something isn't working label Oct 28, 2024
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

1 participant