Fixed issue with bad request in tranasction resource