I don’t know without looking at your code.
But the issue is that you didn’t include an oAuth token most liekly