Sandbox ID or Build ID
No response
Environment
NA
Timestamp of the issue
NA
Frequency
Happens every time
Expected behavior
Make the docs and dashboard consistent.
Actual behavior
There are a few inconsistencies between the actual webhooks behaviour and the documented behaviour.
- The dashboard says to look for
x-e2b-signature header instead of the actual header e2b-signature.
- In webhook verification docs
const expectedSignature = expectedSignatureRaw.replace(/\+/g, '-').replace(/\//g, '_').replace(/=+$/, '');
It says to do a replacement for + with - and \ with _ but from my debugging I found that the signature values
sent via e2b includes + and \ chars.
Issue reproduction
For 2, just creating a webhook request and logging the requests at https://webhook.site/ should work. Might need a few retries for this.
Additional context
No response
Sandbox ID or Build ID
No response
Environment
NA
Timestamp of the issue
NA
Frequency
Happens every time
Expected behavior
Make the docs and dashboard consistent.
Actual behavior
There are a few inconsistencies between the actual webhooks behaviour and the documented behaviour.
x-e2b-signatureheader instead of the actual headere2b-signature.It says to do a replacement for
+with-and\with_but from my debugging I found that the signature valuessent via e2b includes
+and\chars.Issue reproduction
For 2, just creating a webhook request and logging the requests at https://webhook.site/ should work. Might need a few retries for this.
Additional context
No response