When setting up Subscriptions through POST /resources/v1/subscription there seems to be a limit to the maximum number of characters allowed in the HookUri address of about 100 characters.
We are using Azure Logic Apps for creating some integrations and the HTTP POST URL to those Logic Apps seems to be above the current limit. It has a length of 227 characters and if we try to enter this as the HookUri it gets ignored.
Would it be possible to increase the maximum length of this HookUri? To e.g. 256 characters?
The issue is not setting up the Hook-URI in the subscription, but rather that there is not recieved any HTTP call to the endpoint from Visma. We have tested this and it works when we switch the long Azure http with a shorter one to any source . Which means that probably there is some failure when the POST happens from the Visma API to the longer http.
The HookUri's can be up to 255 characters.
We have tested it in our own company, and it works as expected, the provided URI is 255 characters long and is registered when getting the subscriptions:
Are you getting any errors when registering it or are the notifications not received?
The notifications are not recieved. Adding the Hook-URI to the subscription gives no error messages.
I have tested sending a HTTP POST from https://reqbin.com/ to my azure endpoint and that works perfectly so it is not the recieving end that is not working.
Copyright © 2022 Visma.com. All rights reserved.