working on payload errors and status code errors