I am unable to call a WEB API that uses POST (trying to write to a datastore). I made sure the service account has all the right permission. I am getting the following error:
500 - Internal Server Error
Edit: Turns out the service account simply did not have access to one of the objects called. Thank you.
Discussion posts and replies are publicly visible
Internal server error means the problem is in your code, if onError you are not mentioning status code 500. You have to share the code