Skip to main content
Question

401 error at the ‘POST in Webhooks by Zapier’

  • February 20, 2024
  • 9 replies
  • 180 views

I am trying to automate workflow from Formaloo form to Clio Grow account by using Zapier webhooks.

The trigger from Formaloo side works fine, but I received 401 error at the ‘POST in Webhooks by Zapier’ as the app returned "Unauthorized"


I followed the instruction from this article: https://www.linkedin.com/pulse/how-integrate-3rd-party-software-clio-grow-using-webhooks-ian-almasi/

Does anyone know why the error occured?
 



Here are the setting:

 

 

 

Did this topic help you find an answer to your question?

9 replies

Troy Tessalone
Forum|alt.badge.img+14
  • Zapier Expert
  • 30739 replies
  • February 20, 2024

Hi @Famai 

Can you post a screenshot of the encountered error?


  • Author
  • New
  • 3 replies
  • February 20, 2024

@Troy Tessalone Hello, the 401 says ‘The app returned "Unauthorized" (HTTP Status Code: 401)’
 

 


Troy Tessalone
Forum|alt.badge.img+14
  • Zapier Expert
  • 30739 replies
  • February 20, 2024

@Famai 

Clio API docs to reference:

https://docs.developers.clio.com/guides/clio-grow/lead-inbox-api/

Requests must include Content-Type and Accepts headers, both with the value application/json.


  • Author
  • New
  • 3 replies
  • February 20, 2024

Thank you @Troy Tessalone I have added Content-Type and added ‘s’ for Accepts.

Still received the same error.
 

 


Troy Tessalone
Forum|alt.badge.img+14
  • Zapier Expert
  • 30739 replies
  • February 20, 2024

@Famai

Check that you are testing with valid values for the fields.

 


Troy Tessalone
Forum|alt.badge.img+14
  • Zapier Expert
  • 30739 replies
  • February 20, 2024

@Famai 

You can also try changing the action from POST to Custom Request (POST).

{
  "inbox_lead" : {
    "from_first" : "John",
    "from_last" : "Doe",
    "from_message" : "I need a lawyer",
    "from_email" : "johndoe@email.com",
    "from_phone" : "8987648934",
    "referring_url" : "http://lawfirmwebsite.com/intake-form",
    "from_source" :"Law Firm Landing Page"
  },
  "inbox_lead_token" : "ABCDEFGHIJKL0123456789"
}

 

 


Troy Tessalone
Forum|alt.badge.img+14
  • Zapier Expert
  • 30739 replies
  • February 20, 2024

@Famai

Incorrect Lead Inbox Token

Passing an invalid value in the lead_inbox_token field will result in a 401 response.


  • Author
  • New
  • 3 replies
  • February 20, 2024

@Troy Tessalone I got lead inbox token copied and pasted from here below:


I have also tried custom request and received 400 error:
 

 


Troy Tessalone
Forum|alt.badge.img+14
  • Zapier Expert
  • 30739 replies
  • February 20, 2024

@Famai 

400 error is different from a 401 error.

Make sure there are no leading/trailing spaces around the input values in all input fields.