added error codes for invalid src/target orgs