make use of repo format as catalogtype
return json error