Dear Client,
Greeting of the day,
I can help you fix this API issue but before I proceed, I would like to have more details about the project e.g:
is this a rest API.?
where it's hosted (AWS API Gateway | Hosted on VM)
It's clearly an authentication error which needs to be fixed from AWS management console.