Community Forum

Ask a Question

Event webhook call digests not matching causing failed attempts

We are getting an issue on the webhook calls, where some requests are being authorized successfully and others not. We have determined that the issue occurs due to the request signature being passed in the request header from Root not matching the digest we generate on our end. This only happens sometimes, not constantly. We do have sample data if you need (not added due to sensitivity). On our end we consistently generate the digest in the same way for all incoming requests: 1. We take the incoming JSON object and serialize it to a raw JSON string. 2. We then create a HMACSHA1 with the webhook secret. 3. We compute the hash of the HMACSHA1 with the request body string (step 1), and convert it to a lowercase hex string, which gives us our digest. 4. We compare the digest to the request signature to determine if a request is Authorized. This appears to be an issue with how the digests are being calculated when the calls are made from the Root back-end. This is happening in production often and in the sandbox much less so. Any idea what this issue could be?

status_updated_at field

Hi, When [this]( action occurs, can you confirm whether the `status_updated_at` field on the policy will be updated to the date of the event? We have an example of an event where this is not the case. The issue on our side (consuming the `policy_updated` event via a webhook) is that we don't know whether that status was updated at the time of the event of previously some time in the past. Thanks

Horizontal scrollbars on datastore screen

Hi, I'm adding a bunch of values to an existing datastore here: <> After adding the edit button is no longer visible and impossible to get to without using 'tab' on the keyboard. It's not a train smash but should be easily fixable.

GET /policies sorting

Good day 1. What is the default sort order of [this endpoint]( 2. Is there a way to change this sorting? 1. I see when inspecting the network panel that for some endpoints there is an optional `sort[date_field_name]=desc` column. Can this be added to this endpoint too?

Mocking the 'root' object?

Hi, In our unit-testing-code.js, we're trying to test some code which accesses a datastore, as in the example: `await'data_store_key').find();` Unfortunately, the `root` object is always undefined. Am I failing to setup the test correctly? Thanks

Scheduled root export

Hi team I am trying to setup a scheduled report to upload onto an SFTP. I have done this in the past and it has worked. For one of my reports I am getting this error. Please can you assist. sftpConnect: client-socket error. Address lookup failed for host I have checked and the address is correct.