(solved) Future timestamps -> Error: points beyond retention policy

Problem solved: i’ve inserted wrong timestamps (epoch), so the datapoints were far in the past…

I try to insert forecast data with future timestamps and get the error “points beyond retention policy”

Influxdb refuses to store the data if there is a retention policy for 30 days - but the timestamps only go 10 days into the future.

It only works with the default (infinite?) retention policy, but i dont want to store this data forever…
How can i define a retention policy for future data for 10 days?

Thanks for the update!
dg