Title: API Error
Last modified: August 21, 2016

---

# API Error

 *  Resolved [mfulling911](https://wordpress.org/support/users/mfulling911/)
 * (@mfulling911)
 * [12 years ago](https://wordpress.org/support/topic/api-error-10/)
 * Hi there,
 * When I try to use your plugin I run into these following issues (I am entering
   the correct information):
 * API Error: Looking for a valid api key paired with a valid portalId OR just a
   valid access token — found neither. (hapikey=null, access_token=null, portalId
   =null)
 * HubSpot for Gravity Forms – Invalid HubSpot credentials. Please provide valid
   HubSpot credentials. Plugin will not work correctly until valid credentials provided.
 * Can you please help?
 * [https://wordpress.org/plugins/gravityforms-hubspot/](https://wordpress.org/plugins/gravityforms-hubspot/)

Viewing 4 replies - 1 through 4 (of 4 total)

 *  Plugin Author [Big Sea](https://wordpress.org/support/users/big-sea/)
 * (@big-sea)
 * [12 years ago](https://wordpress.org/support/topic/api-error-10/#post-4882328)
 * Hey mfulling, I’ll take a look at this right now with a completely fresh wordpress
   install, and get back to you momentarily 🙂 Sorry about that.
 * Which connection method did you try? oAuth or API Key?
 *  Plugin Author [Big Sea](https://wordpress.org/support/users/big-sea/)
 * (@big-sea)
 * [12 years ago](https://wordpress.org/support/topic/api-error-10/#post-4882329)
 * It appears I have an issue with using API Key Mode.
 * I would suggest switching to oAuth mode while I fix this. Sorry about that. I’ll
   probably have a fix up later today, if not tomorrow.
 *  Plugin Author [Chris Lagasse](https://wordpress.org/support/users/soben/)
 * (@soben)
 * [12 years ago](https://wordpress.org/support/topic/api-error-10/#post-4882347)
 * Hey mfulling911,
 * I accidentally had the wrong section of the HubSpot system to get the API key
   from. I updated the FAQ accordingly.
 * You can get an API Key from HubSpot by going to [https://app.hubspot.com/keys/get](https://app.hubspot.com/keys/get)
 * Generate a key there (you will receive an email from HubSpot with it), and that
   is the key that you should use.
 * However, as I suggested (and recommend)… **you should switch to using oAuth**
   and continue to use that. It’s more secure and a better option (and recommended
   by HubSpot too)
 * Thanks!
    -Chris.
 *  [Imran Kabir](https://wordpress.org/support/users/imrankabir-1/)
 * (@imrankabir-1)
 * [11 years, 9 months ago](https://wordpress.org/support/topic/api-error-10/#post-4882543)

Viewing 4 replies - 1 through 4 (of 4 total)

The topic ‘API Error’ is closed to new replies.

 * ![](https://s.w.org/plugins/geopattern-icon/gravityforms-hubspot_26e0df.svg)
 * [HubSpot for Gravity Forms](https://wordpress.org/plugins/gravityforms-hubspot/)
 * [Frequently Asked Questions](https://wordpress.org/plugins/gravityforms-hubspot/#faq)
 * [Support Threads](https://wordpress.org/support/plugin/gravityforms-hubspot/)
 * [Active Topics](https://wordpress.org/support/plugin/gravityforms-hubspot/active/)
 * [Unresolved Topics](https://wordpress.org/support/plugin/gravityforms-hubspot/unresolved/)
 * [Reviews](https://wordpress.org/support/plugin/gravityforms-hubspot/reviews/)

## Tags

 * [API error](https://wordpress.org/support/topic-tag/api-error/)

 * 4 replies
 * 4 participants
 * Last reply from: [Imran Kabir](https://wordpress.org/support/users/imrankabir-1/)
 * Last activity: [11 years, 9 months ago](https://wordpress.org/support/topic/api-error-10/#post-4882543)
 * Status: resolved