Cannot fetch graph with curl

Hello, im trying to get the graphs working but im unble to do so, my graphna dashboard says “NO DATA” but im getting this error on icinga2 dashboard

Hello, i Have the same error as this, if you find a solution, can you please post it?