#drfreeman7812_error
1 messages ยท Page 1 of 1 (latest)
๐ 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/1284155579173965907
๐ Have more to share? Add more details, code, screenshots, videos, etc. below.
Hi there ๐ we aren't too familiar with that migration toolkit in this forum, but I suspect that error is referring to a field within the owner hash on one or more of your Source objects:
https://docs.stripe.com/api/sources/object#source_object-owner
Do you have an ID of a Source that you saw encounter this error during the migration that you can share?
Complete reference documentation for the Stripe API. Includes code snippets and examples for our Python, Java, PHP, Node.js, Go, Ruby, and .NET libraries.
Sure, It seems to happen to only 4 sources:
- src_1PlZHBJRD3VB0kU347vDE0v6
- src_1PlZJEJRD3VB0kU3y5bqwRk2
- src_1PlZNoJRD3VB0kU3xQCyL65S
- src_1PlZLZJRD3VB0kU39HpBlYTb
For reference this is the migration panel
Looking at those examples there, it looks like owner.name on those Sources contains just a hyphen -. I'm not sure what exactly the tooling is expecting to be present there, but I'd suggest trying to unset that owner.name field by making a request to update the source and pass an empty string to that field.
Got it. What's the easiest way to do that?
I guess its not possible through the dashboard? Do you perhaps have a curl command I can run?
I'm not sure if there is dashboard UI that can be used to perform that, but you should be able to use curl or the Stripe CLI/shell to accomplish that.
The general shape of the request for that can be seen in our API reference here:
https://docs.stripe.com/api/sources/update?lang=curl
Instead of the -d "metadata[order_id]"=6735 line that you see in there though, you'd use:
-d "owner[name]"=
Complete reference documentation for the Stripe API. Includes code snippets and examples for our Python, Java, PHP, Node.js, Go, Ruby, and .NET libraries.
Cool. Thanks @wide topaz
Any time! I'll be happy to take another look if that doesn't help, but may be limited in the advice I can offer about the migration tooling itself.
Doesn't seem to work: "You passed an empty string for 'owner[name]'. We assume empty values are an attempt to unset a parameter; however 'owner[name]' cannot be unset. You should remove 'owner[name]' from your request or supply a non-empty value."
Also the original error states: Please update the name in the Source owner hash to be between 3 and 100 alphanumeric characters
Ah gotcha, so seems like we want a valid name there rather than the field being unset.
If I just use the customer name? could that effect any future payments?
I don't think so, but that's not something I'm too clear on. Our Support team may be able to provide better guidance around that than I can:
https://support.stripe.com/?contact=true
Find help and support for Stripe. Our support site provides answers on all types of situations, including account information, charges and refunds, and subscriptions information. Get your questions answered and find international support for Stripe.