diff --git a/spec/spec_app/app/controllers/instances.rb b/spec/spec_app/app/controllers/instances.rb
index <HASH>..<HASH> 100644
--- a/spec/spec_app/app/controllers/instances.rb
+++ b/spec/spec_app/app/controllers/instances.rb
@@ -46,7 +46,7 @@ class Instances < BaseClass
 
   def show(cloud_id:, id:, junk:, **other_params)
     payload = request.payload
-    response.body = {cloud_id: cloud_id, id: id, junk: junk, other_params: other_params, payload: payload.dump}
+    response.body = {cloud_id: cloud_id, id: id, junk: junk, other_params: other_params, payload: payload && payload.dump}
     response.headers['Content-Type'] = 'application/vnd.acme.instance'
     response
   end
Protect against functional tests that don't include a GET payload and cause spurious backtraces