Error handling in API processor

The issue is solved in 2024.9 by removing the stack trace from the server responses.