turns out i was wrong, it was my code that was at fault Few months ago this was working but I guess the API changed...
added docker compose added example .env looped the authentication