From f6e3d223697a171ed365c3334011bc8b622ca5e7 Mon Sep 17 00:00:00 2001 From: Matt Thompson Date: Tue, 25 Aug 2026 21:18:29 +0100 Subject: [PATCH] fix(e2e): call the synthetic endpoint with the shape it expects The synthetic endpoint URL already includes the stage and route, and the request identifier is passed as syntheticUuid. Appending /production/outbound returned 403 and passing uuid returned 502, neither of which carries a request body, so the outbound relay assertions failed on a nil lookup. --- spec/e2e/outbound_relay_e2e_spec.rb | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/spec/e2e/outbound_relay_e2e_spec.rb b/spec/e2e/outbound_relay_e2e_spec.rb index b2e50ef..02b489a 100644 --- a/spec/e2e/outbound_relay_e2e_spec.rb +++ b/spec/e2e/outbound_relay_e2e_spec.rb @@ -40,7 +40,7 @@ def make_request(payload) url = ENV['EVERVAULT_SYNTHETIC_ENDPOINT_URL'] response = Faraday.new.post do |req| - req.url "#{url}/production/outbound?uuid=ruby-sdk-run&mode=outbound" + req.url "#{url}?syntheticUuid=ruby-sdk-run&mode=outbound" req.headers['Content-Type'] = 'application/json' req.body = payload.to_json end