Hi C Sharleen, Thank you for posting query in Microsoft Q&A Platform.
If your API has an authentication logic then only you should consider using it. In your case your APIs are dummy which can work with
Anonymous
authentication. So please use onlyAnonymous
authentication.
If you use any other authentication which is not supported by API then you end up with this kind of error.
Hope this helps. Please let me know if any further queries.
Please consider hitting Accept Answer
button. Accepted answers help community as well.