Ash and AshPhoenix error key needs to be "foreign_resource_id", not "foreign_resource".. - Ash Framework