diff --git a/pom.xml b/pom.xml
new file mode 100644
index 0000000..a2b2f5c
--- /dev/null
+++ b/pom.xml
@@ -0,0 +1,55 @@
+
+
+ 4.0.0
+
+ org.springframework.boot
+ spring-boot-starter-parent
+ 3.2.3
+
+
+
+ com.ironhack
+ lab-java-springboot-rest-api
+ 0.0.1-SNAPSHOT
+ lab-java-springboot-rest-api
+ lab-java-springboot-rest-api
+
+
+ 17
+
+
+
+
+ org.springframework.boot
+ spring-boot-starter-web
+
+
+
+ org.springframework.boot
+ spring-boot-starter-validation
+
+
+
+ org.springframework.boot
+ spring-boot-devtools
+ runtime
+ true
+
+
+
+ org.springframework.boot
+ spring-boot-starter-test
+ test
+
+
+
+
+
+
+ org.springframework.boot
+ spring-boot-maven-plugin
+
+
+
+
\ No newline at end of file
diff --git a/src/main/java/com/ironhack/GlobalExceptionHandler.java b/src/main/java/com/ironhack/GlobalExceptionHandler.java
new file mode 100644
index 0000000..68e09c4
--- /dev/null
+++ b/src/main/java/com/ironhack/GlobalExceptionHandler.java
@@ -0,0 +1,50 @@
+package com.ironhack;
+
+import org.springframework.http.HttpStatus;
+import org.springframework.http.ResponseEntity;
+import org.springframework.web.bind.MethodArgumentNotValidException;
+import org.springframework.web.bind.MissingRequestHeaderException;
+import org.springframework.web.bind.annotation.ExceptionHandler;
+import org.springframework.web.bind.annotation.RestControllerAdvice;
+import jakarta.servlet.ServletException;
+import org.springframework.util.MultiValueMap;
+import java.util.HashMap;
+import java.util.Map;
+
+@RestControllerAdvice
+public class GlobalExceptionHandler {
+
+ @ExceptionHandler(MethodArgumentNotValidException.class)
+ public ResponseEntity