Add fallback for statusCode errors in addComment