I checked below oracle connection and it works fine with console app using same object snap objects but gives error when run from powerserver. It connects but doesnt work further by below error:
PowerServer.Api.ServerApiController: Error: 'PowerServer.Api.ServerApiController.CommitAndCreateTransaction (PowerServer.Api)' get result (
{
"IsSuccess": false,
"RequestId": null,
"AppName": "xxxxx",
"NameSpace": "xxxxx",
"ErrorCode": 0,
"ErrorMessage": "Failed to commit because there is no available database connection or transaction"
}).