Skip to main content
Best answer

Perplexity call in Webhook


I am attempt to make a call to perplexity on my Zap in Zapier, however I continue to get the "The app returned "Unauthorized" (HTTP Status Code: 401)" error message. I believe I have set this up correctly but I'm not sure what the problem is. (Basic Auth has been added before)


Any got some advice on this?

 

Best answer by Adzza

Managed to sort this, well at least discover what’s wrong. Firstly you are missing the authorization header with your api key, secondly I disabled data pass through and it works so perhaps there is something wrong in the backend when that’s enabled that scrambles the query? 

View original
Did this topic help you find an answer to your question?
This post has been closed for comments. Please create a new post if you need help or have a question about this topic.

3 replies

  • New
  • 2 replies
  • July 31, 2024

I’m having this same issue. Did you get it resolved? 


  • New
  • 2 replies
  • Answer
  • July 31, 2024

Managed to sort this, well at least discover what’s wrong. Firstly you are missing the authorization header with your api key, secondly I disabled data pass through and it works so perhaps there is something wrong in the backend when that’s enabled that scrambles the query? 


JammerS
Forum|alt.badge.img+6
  • Zapier Staff
  • 2203 replies
  • July 31, 2024

Hi @Adzza,

 

Thank you for sharing how you sorted it out. Hopefully this will fix the issue.