adding support for sync_type
when 401 && expired