#Wreck

1 messages · Page 1 of 1 (latest)

dim daggerBOT
violet plank
#

Hello! Can you share the request ID (should look like req_123) that's erroring?

wet egret
#

here you go: req_Qkpx2tAwiU1lu2

#

here's the full trace back if it would help

2023-04-11 05:47:27,907 INFO  [stripe][MainThread] error_code=None error_message='Invalid billing_cycle_anchor: must be one of now or unchanged' error_param=billing_cycle_anchor error_type=invalid_request_error message='Stripe API error received'

stripe.error.InvalidRequestError: Request req_Qkpx2tAwiU1lu2: Invalid billing_cycle_anchor: must be one of now or unchanged
violet plank
#

Ah, that error message is a bit misleading here - the real issue is that you've passed in a decimal as a string. We expect an integer unix timestamp

#

I can see from that request you passed in billing_cycle_anchor: "1681228800.0". You need to pass in billing_cycle_anchor: "1681228800" instead