AvePoint Interview Question

How do I debug when I received a 500 status code