#simon-_best-practices

1 messages ¡ Page 1 of 1 (latest)

latent pagodaBOT
vast pierBOT
#

Below are links to other discussions we've had with you in the past week in case you want to review that information. If your question is related to one of these previous discussions, please provide a comprehensive summary of the current state and what you need help with now. We help many users simultaneously, so a summary allows us to resolve your issue as soon as possible.

latent pagodaBOT
#

👋 Welcome to your new thread!

⏲️ We'll be here soon! We typically respond in a few minutes, but in some cases we might need a bit more time (e.g., server's busy, you've got a complex question, etc.).

⏱️ We close idle threads, which makes them read-only. Once a thread is closed it won't be reopened, but you can 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/1257749592372543490

📝 Have more to share? Add details, code, screenshots, videos, etc. below.

smoky blaze
#

Hello! I don't believe that's possible, but let me look to make sure...

#

Can you give me more details about what you've tried? Are you running into an error?

oblique junco
#

the error is as follows:
{"type":"StripeInvalidRequestError","raw":{"message":"Quantity should not be specified where usage_type is metered. Remove quantity from line_items[1]","param":"line_items[1]","request_log_url":"https://dashboard.stripe.com/test/logs/req_oRQOmfk6Z8qYS3?t=1719940034","type":"invalid_request_error","headers":{"server":"nginx","date":"Tue, 02 Jul 2024 17:07:14 GMT","content-type":"application/json","content-length":"303","connection":"keep-alive","access-control-allow-credentials":"true","access-control-allow-methods":"GET,HEAD,PUT,PATCH,POST,DELETE","access-control-allow-origin":"*","access-control-expose-headers":"Request-Id, Stripe-Manage-Version, Stripe-Should-Retry, X-Stripe-External-Auth-Required, X-Stripe-Privileged-Session-Required","access-control-max-age":"300","cache-control":"no-cache, no-store","content-security-policy":"report-uri https://q.stripe.com/csp-report?p=v1%2Fcheckout%2Fsessions; block-all-mixed-content; default-src 'none'; base-uri 'none'; form-action 'none'; frame-ancestors 'none'; img-src 'self'; script-src 'self' 'report-sample'; style-src 'self'","cross-origin-opener-policy-report-only":"same-origin; report-to="coop"","idempotency-key":"stripe-node-retry-6e555e3c-d60c-46a1-900e-d3d5dc4ca051","original-request":"req_oRQOmfk6Z8qYS3","report-to":"{"group":"coop","max_age":8640,"endpoints":[{"url":"https://q.stripe.com/coop-report?s=ocs-bapi-srv\"}],\"include_subdomains\":true}","reporting-endpoints":"coop=\"https://q.stripe.com/coop-report?s=ocs-bapi-srv\"","request-id":"req_oRQOmfk6Z8qYS3","stripe-should-retry":"false","stripe-version":"2024-04-10","vary":"Origin","x-content-type-options":"nosniff","x-stripe-priority-routing-enabled":"true","x-stripe-routing-context-priority-tier":"api-testmode","strict-transport-security":"max-age=63072000; includeSubDomains; .....

smoky blaze
#

Oh... so what happens if you remove quantity?

oblique junco
#

Um let me check..

#

Okay that works!

#

that was easy..