Need feedback on Exercise Tracker Project

Hi All,

I just finished the Exercise Tracker project and was able to make it pass the test. But I would like some feedback as this is my first time working on an API. Especially I would like to learn a bit on the proper way of handling errors for easy debugging.

My App is:
My code is:

I appreciate any feedback.