I'm looking at my code again. The "36" is the number of expected fields in the accounts database but the updating queue received a request with 37 fields in it. My guess is that your AccountsEdit call had a carriage return/line feed in one of the fields like Custom or Notes. Is that possible?loquacious wrote:2020-05-30 22:57:01|AccountsThread.Execute error: parameter list count mismatch (36/37)
AccountsThread.Execute
-
- Site Admin
- Posts: 5880
- Joined: Wed Mar 19, 2008 8:47 pm
Re: AccountsThread.Execute
-
- Site Admin
- Posts: 5880
- Joined: Wed Mar 19, 2008 8:47 pm
Re: AccountsThread.Execute
In fact I can reproduce it myself like this:Kent Briggs wrote:My guess is that your AccountsEdit call had a carriage return/line feed in one of the fields like Custom or Note
Code: Select all
http://127.0.0.1:8087/api?Command=AccountsEdit&Password=x&Player=pm1&Note=test1%0D%0Atest2
-
- Posts: 19
- Joined: Mon Feb 24, 2020 10:53 pm
Re: AccountsThread.Execute
It absolutely could be possible. I use a multi-line text box for the Notes on my site. I'll look at this as well.Kent Briggs wrote:I'm looking at my code again. The "36" is the number of expected fields in the accounts database but the updating queue received a request with 37 fields in it. My guess is that your AccountsEdit call had a carriage return/line feed in one of the fields like Custom or Notes. Is that possible?loquacious wrote:2020-05-30 22:57:01|AccountsThread.Execute error: parameter list count mismatch (36/37)