Multiple authentications invoked! (hapikey,oauth-token). Use only one.

SOLVE
DCrowe
Member

I am trying to intgrate vend and hubspot. The API end point for ecommerce bridge specified in the docs look like this.

PUT https://api.hubapi.com/extensions/ecomm/v2/settings?appId={yourAppId}&hapikey={yourDeveloperAccountHapikey}

When I use this example(and others) I receive this error "Multiple authentications invoked! (hapikey,oauth-token). Use only one."

 

Because I have set up Oauth. How can I use this end point without needing to specify the  api key, or not get the error when I do? I have had this with other endpoints too, and would appreciate some guidance 😅

0 Upvotes
1 Accepted solution

Accepted Solutions
dennisedson
Solution
Community Manager

Hey @DCrowe 

Are you using the Developer Account hapikey and not the portal's hapikey that you installed the app onto?  The reason you need that is that you are updating settings in the app and not on a portal that is authenticated to your app.

Thanks,

Dennis



Check out our Community Developer Blog
where we feature our Community driven developer podcast and how to content

View solution in original post

0 Upvotes
1 Reply 1
dennisedson
Solution
Community Manager

Hey @DCrowe 

Are you using the Developer Account hapikey and not the portal's hapikey that you installed the app onto?  The reason you need that is that you are updating settings in the app and not on a portal that is authenticated to your app.

Thanks,

Dennis



Check out our Community Developer Blog
where we feature our Community driven developer podcast and how to content

View solution in original post

0 Upvotes