The error message is probably wrong. I can't see any mistake where it mentions there is one.
The problem looks like you are trying to create a table with two primary keys, one on column ID and one on column TIMESTAMP. A table is only allowed to have one primary key. You can have multiple keys, they can be unique or not unique (referring to the column values), they can index the combined values of multiple columns, etc., but there can ONLY be one (or none) primary key.
If this answers your question, please click on the check to accept. Let's keep up on forum housekeeping. ;-)