Hi,
I have a WebAPI that I am calling from outside Appian. I have created a service account that is a Basic User that has Designer permissions and is a Viewer on the WebAPI object.
When I try to call the API, passing the service account credentials as HTTP Basic Authentication, I get the following error:
"500 - Internal Server Error"
Any advice on this would be much appreciated.
Thanks,
Discussion posts and replies are publicly visible
What is your API method? For POST, PUT, and DELETE Web APIs you'll need to configure the CORS: https://docs.appian.com/suite/help/19.2/Web_APIs.html#cross-origin-requests
Thanks for your reply. It is a GET method.
Have you ensured that the credentials are sent preemptively?
Also, can you share the SAIL for the webAPI? a 500 error usually suggests an error in the api code evaluation or that the response is not formatted correctly as a HTTP Response.