API fails on secondsite, worked on primary/default site

Did you make a new api key on the second site? Like like the key is invalid.