Hello everyone,
I am trying to create a custom connector and to change the request's content with the avail of the "Code" functionality.
However, it does not work. I have been trying for days to send a request to one of my Web Services, which works perfectly and can be accessed without any issue outside of Power Platform. When enabling custom code, the connector will always return a 403 forbidden error no matter what.
In the end I decided to copy and paste the code in the Microsoft Documentation example, hoping that maybe it was something I was doing wrong, but apparently even Microsoft's own code does not work and returns that same 403 Forbidden error with an empty body.
So I thought, that is not possible, my web service is well made, it works, and it is made in a way that it would return a proper error message in order to allow me to debug what is going on. So it appeared clear to me that that response was not returned by MY web service, but it is certainly coming from somewhere else.
So the questions are, is there any way to understand what is going on? Why do I receive a forbidden 403 Error inside the Connector Test tab without any body whatsoever? Which resource is receiving my data and answering?
Thanks in advance,
have a lovely day.