My bad - I was confused there. Forgot to post this earlier, but you were 
totally right; it's only happening when not logged in. 

Thanks again for your patience & help.

-j



On Tuesday, June 6, 2017 at 2:41:56 PM UTC-6, Jordan Ladora wrote:
>
> Thank you for checking that.
>
> Yeah, I'm still getting this, even when logged in. As a temp workaround I 
> swapped all the instances of "validate_and_insert" in my app for "insert".
>
> I did find a note I made a couple years ago from back before I upgraded to 
> the latest version that said validate_and_insert would not work if no 
> fields were set, like in the '## no fields-' example I posted on 6/3, so 
> maybe this is due to something else I have e.g. in db.py...
>
>
>
> On Monday, June 5, 2017 at 10:43:16 AM UTC-6, Anthony wrote:
>>
>> On Monday, June 5, 2017 at 12:32:09 PM UTC-4, Jordan Ladora wrote:
>>>
>>> Thanks. It's also throwing the identical error when using the app's web 
>>> page as a logged in user.
>>>
>>
>> Are you sure? I tried it as a logged in user and it works fine (using 
>> your exact table definition and insert code).
>>
>> Anthony
>>
>

-- 
Resources:
- http://web2py.com
- http://web2py.com/book (Documentation)
- http://github.com/web2py/web2py (Source code)
- https://code.google.com/p/web2py/issues/list (Report Issues)
--- 
You received this message because you are subscribed to the Google Groups 
"web2py-users" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to web2py+unsubscr...@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

Reply via email to