Fix: Argument error: Invalid resource type