Question

401 error at the ‘POST in Webhooks by Zapier’

  • 20 February 2024
  • 9 replies
  • 82 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:

 

 

 


9 replies

Userlevel 7
Badge +14

Hi @Famai 

Can you post a screenshot of the encountered error?

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

 

Userlevel 7
Badge +14

@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.

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

Still received the same error.
 

 

Userlevel 7
Badge +14

@Famai

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

 

Userlevel 7
Badge +14

@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"
}

 

 

Userlevel 7
Badge +14

@Famai

Incorrect Lead Inbox Token

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

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


I have also tried custom request and received 400 error:
 

 

Userlevel 7
Badge +14

@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.

Reply