The bearer shouldn’t be hardcoded as it will expire.
Either the token is invalid, expired, or it’s not passing to your ajax function as you expect.
So debug it
The bearer shouldn’t be hardcoded as it will expire.
Either the token is invalid, expired, or it’s not passing to your ajax function as you expect.
So debug it