In my application, I'm consuming an api, which is working fine.
When I added a OnBeforeRequest event for that api, I'm countering an error "Object reference not set to an instance of an object". I tried to debug that method. When I expand Request during debugging, it's showing the same error.
Hello @Nour Hasan,
This error usually comes when values are not assigned properly to the required variables. Can you please refer this documentation and see if you had implemented the OnbeforeRequest handler properly?
https://success.outsystems.com/documentation/11/extensibility_and_integration/rest/consume_rest_apis/simple_customizations/
Thanks,
Sachin