Best answer

The app returned "An invalid api_key was supplied. Error

  • 6 January 2023
  • 4 replies
  • 183 views

Hi, I’m trying to connect Price labs with webhooks but I keep getting an error message:

Failed to create a request in Webhooks by Zapier

The app returned "An invalid api_key was supplied.

when I’m using the url:

 

Params:

pms=vrm
listing_id=SUNSETPROPS_OLSE___239
 
I’m using basic auth: Username|API Key
Headers: X-API-Key = API_KEY_FROM_DASHBOARD
 
And when using it with url: pricelabs.co/pricing it’s successfully connected and pulling data but incorrect.
icon

Best answer by Troy Tessalone 7 January 2023, 17:31

View original

This post has been closed for comments. Please create a new post if you need help or have a question about this topic.

4 replies

Hi, I’m trying to connect Price labs with webhooks but I keep getting an error message:

Failed to create a request in Webhooks by Zapier

The app returned "An invalid api_key was supplied.

when I’m using the url:

 

Params:

pms=vrm
listing_id=SUNSETPROPS_OLSE___239
 
I’m using basic auth: Username|API Key
Headers: X-API-Key = API_KEY_FROM_DASHBOARD
 
And when using it with url: pricelabs.co/pricing it’s successfully connected and pulling data but incorrect.

Already tried it X-API-Key = (API Key) but it didn’t work because I’ve put an API key as well in basic auth.

Thanks for the help, it’s working now.

Userlevel 7
Badge +14

@Vincii 

Remove the trailing ?

 

For API Authorization generally you use one or the other, Basic Auth OR Headers, but not both.

 

The API docs show this.

You need to remove the Basic Auth.

You need to add the API Key to the Header in place of “API_KEY_FROM_DASHBOARD”.

 

Hi @Vincii 

Good question.

Please post screenshots with how your Zap step is configured.

Please also link to the app API docs that you are referencing.

Yes, sure.

API Docs link: https://documenter.getpostman.com/view/507656/SVSEurQC

Get neighborhood data

 

Thank you!

Userlevel 7
Badge +14

Hi @Vincii 

Good question.

Please post screenshots with how your Zap step is configured.

Please also link to the app API docs that you are referencing.