The code in the second line doesn't print the token in the console. The token just comes out to be null. But when I remove the {action: 'Page load'} parameter for the execute method, I do get a token in my console.
What is the reason for this? The docs don't suggest specifying these actions anywhere but directly in the code.
How do I get the token even with an action?
Cristiano Belloni
unread,
Jun 11, 2018, 8:18:05 AM6/11/18
Reply to author
Sign in to reply to author
Forward
Sign in to forward
Delete
You do not have permission to delete messages in this group
Copy link
Report message
Show original message
Either email addresses are anonymous for this group or you need the view member email addresses permission to view the original message
to reCAPTCHA
This happens to me too. Pretty sure my key is a v3 one, but with any { action }, the token is null. If I specify no { action }, instead, token comes through.
Torgeir Lund
unread,
Jun 18, 2018, 8:23:37 AM6/18/18
Reply to author
Sign in to reply to author
Forward
Sign in to forward
Delete
You do not have permission to delete messages in this group
Copy link
Report message
Show original message
Either email addresses are anonymous for this group or you need the view member email addresses permission to view the original message
to reCAPTCHA
I found out that I had characters not allowed in the action name. Use only a-z, A-Z, and _