Hello Everyone,
i have an issue while consuming API in D365F&O when there are some data are incorrect there is no response in post man and it returens Internal sever error 500
when i try to handle this error in Dynamics by using Try and Catch the code doesn't go inside catch statement and it goes out the code and gives and error as info,
i'm trying to handle this error i tried catch(), catch(Exception::Error), catch(Exception::CLRError) also i made a variable of System.Net.WebException ex; and tried catch(ex)
none of them are working the code doesn't get inside any catch of them ,, how can i handle that error in D365FO ?