Diferences in API (migration DF 2 to DF4)

Hi Guys!

I’ve been migration my DF from 2.0 to 4.0 and today the tests were started. When the APIs call a table it’s ok, but when call a function or procedure there are differences in response.

For example

Case 1
I call the API in DF 2.0, and receive an HTTP 500 with an error, and in DF 4 I received HTTP 200 with an empty response.

Case 2
I call the API in DF 2.0, I received a full message, and in DF 4 I received HTTP 200 with an empty response.

Why these differences and how to resolve them?