Hi there,
I was trying to send an SMS message through the JobSubmit API and the message status said "cancelled". The failure report wasn't much help. Please could you tell me where I went wrong?
Job reference: 01551016
Thanks very much
Matt Pryor
Unfortunately, I am unable to find a reference to your job on any of our test systems. It appears that the job might have been purged.
In the future, please provide the full job id (both the xdn and hte mrn) so we know which system to look at.
Also, if you can provide the ProcessingId from the API result, we can usually look at the XML to see what went wrong.
Thanks for the reply. Here is the XDN and MRN:
PT / 1583450
And the Processing ID is:
OACD3608-1851-11213160904000
State is "Cancelled" (5) and Gamma Code is 5000 (operator cancel).
Thanks for your help.
OK, I see your problem.
For background, we have two different types of systems on which your jobs could be processed (see Domains, Switch Types, and URL's). This job was processed on an XDDS-type system, rather than a MessageREACH-type system, and our SMS features are generally available on MessageREACH domains.
The reason the job went to the XDDS system is that the input didn't tell the API that this was an SMS job. In order to do that, the request should include <SmsOptions> - this one has <FaxOptions>:
<xoajsb:JobOptions> <xoajsb:FaxOptions> <xoajsb:Subject>Test SMS</xoajsb:Subject> <xoajsb:PageOrientation>portrait</xoajsb:PageOrientation> </xoajsb:FaxOptions></xoajsb:JobOptions>So if you modify your input applicaton to use SmsOptions (with the supported elements there), the SMS job should go to the right place and be processed successfully.
Thanks for the reply. I've modified the request document as suggested and am now receiving the following:
ProcessingId: 0ACD3608-1108-111214102407763
Status Message: XOA-2000 [system error] : dbget_partition_user() failed : system related problem [reason code = 1012]
Thanks,
Matt
Sorry about that - there was a system setting that wasn't in place for your account that was preventing access to the MR system. You should be OK for now.
By the way - not sure if you heard, but the system that you are currently using to test (PT - https://xoa.pt.premiereglobal.com) is being phased out in terms of our other test system (test2), which lives at https://test2messaging.easylink.com/soap/sync. You have an account set up on the test2 system (user ID is T2/F2M/DAVIES, with the same password you are using now).
Now might be a good time to switch to using the test2 URL instead of the PT one, just so you're ready when the PT system is shut down.
Thanks, yes our account manager told us about the new domain a few weeks ago, but I haven't affected the changes on our system yet. I'll do that ASAP.
I'll let you know how I get on with the SMS message.
Cheers, Matt
Please could you see what happened to this one?
ptmr / 345602
I'm getting RecStatus code of "1" and the message says "No information available".
Sorry again... I missed one setting.
I updated your account and retried your error, and the job processed. It shows that the message was sent on to the SMS aggregator, but we don't always have visibility into whether or not it actually delivered.
In particular, I'm not 100% sure the default SMS delivery processing in this test domain can send to UK numbers.
If you didn't get the message, let us know and we can see about routing you through one of our European based aggregators.
Hi again,
I didn't get the message, but I'll try it again tomorrow or in the next couple of days on the new test server.
I tried this again on the new test server. Here's the XSD / MRN:
flusme / 820655
Same as before, when I check the status I get "No information available" and a status code of 1, and I don't receive the message.
Please advise,
Thanks
Sorry... The same configuration that you needed on the other test system (PT) hadn't been done on test2/flusme.
I fixed it and retried the error, and the job went through. Not sure if it made it to your phone, though, but you should have gotten a delivery report.
Thanks, yes I received it!