improved error handling for plugin portal request (not yet happy, wip)