Why is my Webhook URL giving a 400 Error Code regarding a query parameter?

Sewon
Sewon
  • Updated

Issue

When setting up my Webhook with a custom Webhook URL, I get a 400 "MissingApiVersionParameter" Error Code that reads "The api-version query parameter (?api-version=) is required for all requests".

Environment

Developer Platform, Benchling Apps, Events, Webhook

 

Cause

Benchling currently does not support query parameters in Webhook URLs because Benchling will append to the Webhook URL before sending it out. This behavior will break a customer-provided Webhook URL with query parameters.

 

Resolution steps

The end of a customer-provided Webhook URL would look something like:

...xxx/invoke?api-version=xxx

Remove the part of the URL ?api-version=xxx so that the URL will end in /invoke

Was this article helpful?

Have more questions? Submit a request