diff --git a/src/Http/RestClient.php b/src/Http/RestClient.php
index <HASH>..<HASH> 100644
--- a/src/Http/RestClient.php
+++ b/src/Http/RestClient.php
@@ -158,7 +158,7 @@ class RestClient
 
     private function encodeEntity(Extractable $entity): string
     {
-        return json_encode($entity->extract());
+        return json_encode($entity->extract(), JSON_THROW_ON_ERROR);
     }
 
     /**
Issues encoding json now throw exceptions