We use cookies to improve your experience. No personal information is gathered and we don't serve ads. Cookies Policy.

ExpressionEngine Logo ExpressionEngine
Features Pricing Support Find A Developer
Partners Upgrades
Blog Add-Ons Learn
Docs Forums University
Log In or Sign Up
Log In Sign Up
ExpressionEngine Logo
Features Pro new Support Find A Developer
Partners Upgrades
Blog Add-Ons Learn
Docs Forums University Blog
  • Home
  • Forums

"author_id":"Invalid Selection"

Developer Preview

TJ Draper's avatar
TJ Draper
222 posts
8 years ago
TJ Draper's avatar TJ Draper

I’m getting an error when trying to register through Visitor on EE 3 and I’m completely stumped. I have reviewed all permissions related to member groups, channel form, etc. and I can’t resolve it. This form is using JSON and the return of submitting is:

{"success":0,"errors":[],"field_errors":{"author_id":"Invalid Selection"},"entry_id":null,"url_title":null,"channel_id":3}

Any help would be greatly appreciated as this needs to be resolved yesterday (as always, dev time to finish this upgrade has run out 😛 ).

       
Kevin Cupp's avatar
Kevin Cupp
791 posts
8 years ago
Kevin Cupp's avatar Kevin Cupp

I’m not sure what Visitor is or how it works, but this JSON looks like our Channel Form response. “Invalid Selection” typically comes from the option fieldtypes and happens when you try to select an option it doesn’t have. In this case, looks like the author_id dropdown.

       
Derek Jones's avatar
Derek Jones
7,561 posts
8 years ago
Derek Jones's avatar Derek Jones

I don’t have any experience using Visitor, either, and I’m assuming you’ve contacted DevDemon/Vector? I’d double check that the Channel prefs allow guest entries on Channel Form, and the default author assigned is in a member group that has permissions to create new entries in that channel.

       
TJ Draper's avatar
TJ Draper
222 posts
8 years ago
TJ Draper's avatar TJ Draper

allow guest entries

Ahhhhhhhhhh. That was not set correctly and apparently was not enforced on EE 2 or something in the context of Zoo Visitor adding a channel entry for the user. Or something.

       

Reply

Sign In To Reply

ExpressionEngine Home Features Pro Contact Version Support
Learn Docs University Forums
Resources Support Add-Ons Partners Blog
Privacy Terms Trademark Use License

Packet Tide owns and develops ExpressionEngine. © Packet Tide, All Rights Reserved.