Fix error 500 on webhook creation