Handle AIF error messages in dynamics AX 2012 R3
Normally, when we consume AIF Service, we use this code like below to handle Error messages
If it cause error, message would return like this
If you want to know more details, you have to go In Dynamics ax AIF Exceptions form then check
It’s quite hard for 3rd party developer, especially they don’t have right to access AX server.
Anyway, we can get meaningful error message by doing below steps
- Check that box in AIF inbound ports
FaultException class to get message
what we got
Thank you for reading.