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

create_btcpay error - 'NoneType' object has no attribute 'split' #1027

Open
jdogresorg opened this issue Feb 8, 2018 · 2 comments
Open

create_btcpay error - 'NoneType' object has no attribute 'split' #1027

jdogresorg opened this issue Feb 8, 2018 · 2 comments
Labels
bug
Milestone

Comments

@jdogresorg
Copy link
Contributor

@jdogresorg jdogresorg commented Feb 8, 2018

There appears to be an issue with the create_btcpay API. The following error is thrown when trying to create a btcpay transaction during a valid/pending order match.

'NoneType' object has no attribute 'split'

The screenshots below show testnet transactions.

create_btcpay request during valid order match... fails
image

get_order_matches request showing order match in 'pending' status
image

@ghost
Copy link

@ghost ghost commented Feb 27, 2018

👍 Hitting this as well:

screen shot 2018-02-25 at 16 28 04

Mentioned it briefly in RPBT Telegram a bit ago. It appears to cause a new Server error dialog to appear for each error thrown in FreeWallet. (Thanks for the great wallet, BTW — FULLACCESS holder here!)

@jdogresorg
Copy link
Contributor Author

@jdogresorg jdogresorg commented Mar 9, 2018

After some further investigation, it appears that the create_btcpay transaction requires that a source address be specified, even though the documentation indicates order_match_id is the only required field.

We need to update the documentation at https://counterparty.io/docs/api/#create_btcpay to reflect that source is a required field

Big shoutout to @herrmoltke for his help figuring out the issue :)

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Linked pull requests

Successfully merging a pull request may close this issue.

2 participants
You can’t perform that action at this time.