This was because of making resource_id as a keyword argument, but since I am going back to adding them in the controller to avoid potential bugs, we should be good.