API error code 10011 means the transaction was refused because the API call passed an invalid transaction ID value. To fix and avoid this error in the future, make sure the transaction ID referenced in the API is correct and doesn’t contain preceding or trailing spaces.
See the Developer Portal for a complete list of NVP/SOAP API error codes.