Looking at the documentation, it might be that the error is due to the fact that the values of the “id” column in the table that you provide are not strings.
Can you try by updating the id column to [“1”, “2”, “3”, “4”, “5”, “6”, “7”] instead of [1, 2, 3, 4, 5, 6, 7]?