# Survey Mapping 500 Error Fix ## Summary Fixed a critical server-side error (500 Internal Server Error) that was preventing PUT (update) and DELETE operations on survey template mappings. The error was caused by incorrect field references in the ViewSet configuration. ## Problem When users tried to edit or delete survey template mappings, the server returned a 500 Internal Server Error with the following symptoms: ``` PUT http://localhost:8000/api/integrations/survey-template-mappings/{id}/ 500 (Internal Server Error) DELETE http://localhost:8000/api/integrations/survey-template-mappings/{id}/ 500 (Internal Server Error) Error: SyntaxError: Unexpected token '<', "