Now that we’ve been forced to use API v2 for our authentication to Zapier, I have gone through the steps to set it up. I created the API v2 key using an administrator account and granted ‘read/write’ access. However, when I tried to authenticate the connection in Zapier I continually receive the error “authentication failed: Invalid Consumer Key and/or Consumer Secret”. I’ve copied the Consumer Key & Secret directly from Gravity Forms, but it still won’t connect when I try to authenticate it in Zapier.
I’ve searched everywhere to see if someone has had the same issue but haven’t found any viable solutions. I have gone through a number of troubleshooting steps, but nothing has works. > (i.e. revoking key, creating new key, enabling basic authentication on our website, turning off firewall, disabling plugins, etc.)
Hoping someone in the community/support might have some ideas on what could be happening?
Thanks in advance!
UPDATE: This has been resolved!
For anyone interested in the solution, the error was happening because of the way our htaccess file was setup. We have multisite running and just needed to start with a fresh htaccess setup for it. A simple replacement of the code…
I am encountering the exact same problem authenticating via API v2 through Zapier. I followed all of the same basic troublshotting, including deactivating plugins, refreshing my htacess (Multisite Network Administration | WordPress.org) but am still receiving the same errors in GF debug log. Because I am on a very old multisite installation, I have to use the older format of multisite htaccess or else all of my subsites (subfolder setup) go down. Thankfully all of the legacy Zapier feeds still work, but I am unable to create any new connections. I will have to utilize Webhooks to connect to Zapier until there some sort of update or workaround.
Identical issue. Refreshed .htaccess, and even spoke with Zapier support, who told me:
“I took a look in our log records here and see there is an error ‘Invalid Consumer Key and/or Consumer Secret’. We do have a report with the Gravity Forms team that manages this app integration about this error message and I have added you to this bug report.”
I opened a priority support ticket w/ GF and will reply to this if they have a solution. Fingers crossed.
If you’re here because you get the aforementioned error, make sure you have the following setting checked: GForms > Settings > REST API > Enabled
/wp-admin/admin.php?page=gf_settings&subview=gravityformswebapi
I was also having a similar type of issue which was ‘authentication failed: Invalid Base URL’ with some help from @jimtrue this was down to I was on Cloudflare and not having the correct page rules which are
If you’re using CloudFlare,
You’re probably going to need to open up the REST API endpoints through Cloudflare using this process:
Ok I’ve been pulling my hair out for about an hour on this. Here’s what solved the issue for me. It was the update (save) button at the bottom of the screen on the Rest API page. I was able to create my keys but I never clicked “update.”
I feel that this could have been designed better. After you get your keys and close the popup box. You definitely feel like your keys have been created and saved. It feels that way. It never occurred to me to click the update button that was in fact below the fold and not visible to me. They should put a save button right near the key and also a popup if you try to leave the page without saving it. Or some tool tip that says you must save this key in order for it to work. Ok that’s my 2 cents.
I’m experiencing the same thing just now. It’s really annoying, i tried the solutions suggested above but no success. Have anyone found any other solutions yet?