Wrong error on setting webhook on an missing form via API

  • 10 March 2023
  • 1 reply
  • 60 views

Hej,

I just want to share a case : yesterday I get an error “{"code":"unauthorized","description":"failed to verify authentication"}” when I tried to set a webhook on a form.

So I get crazy with token authentification and all that but at the end I discovered that the form’s ID I gave was missing a letter, so the form didn’t exist.

I think the error code and message could be improved in this case maybe a 404 or 400 with “form does not exist” , “wrong form ID” or idk.

 

Thanks for reading me,

Regards,


1 reply

Userlevel 7
Badge +5

Hi @Gumball Thank you for spotting this! I’ve shared this with the product team. 😁

Reply