throw proper Errors, fix metadata remove logic
throw proper Errors, fix metadata remove logic

Digipalvelutehdas/APIKA,Digipalvelutehdas/APIKA,Digipalvelutehdas/APIKA,Digipalvelutehdas/apika-dashboard,Digipalvelutehdas/apika-dashboard