Hey,
I have already mentioned them above. Here are links for more details:
You have to change he the expiration time in case that it is in the past. The default value was 2023-01-01
Usually you get that error when a variable is sent as parameter instead of a string