I am getting this error ZPS_APL_ZDP_E_INV_REQUESTTYPE (The supplied request type was invalid.) when calling ZPS_eAplZdoBind.
It seems that it does not happen systematically. An another call with the same parameters might work.
What is the "request type" that is invalid that it is referring to ?
I call it through the bind api (E_SL_MSG_BIND) in JN-AN-1216. as explained before, it works most of the time with exactly the same calls.
Can you share the code of ZPS function (under NDA if needed) for us to be able to work with this framework. Many error messages are impossible to decipher as the documentation is extremely limited.
I hope you are doing great. I am not sure how are you calling the ZPS_eAplZdoBind, in what part of the code are you adding this API?
Please look at the JN-AN-1220 that helps you to bind and find your device.