Information on API error solutionS
Your question doesn't display your issue.
What you need is to put the API you are trying in the question along with the parameter you are passing to the API (not the credentials) along with the correct exception messages.
Only then your issue can be detected and solved
2 People are following this question.