Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Unknown error uncaught and response generated #19

Open
opicodes opened this issue Jun 10, 2021 · 0 comments
Open

Unknown error uncaught and response generated #19

opicodes opened this issue Jun 10, 2021 · 0 comments

Comments

@opicodes
Copy link

opicodes commented Jun 10, 2021

In \Fazland\SkebbyRestClient\Client\Client::executeRequest you can get a failed response like:

<?xml version="1.0" encoding="UTF-8"?>
<SkebbyApi_Public_Send_SmsEasy_Advanced>
    <send_sms_classic>
        <status>failed</status>
        <response>
            <code>10</code>
            <message>URLs in message body are not allowed for untrusted users</message>
        </response>
    </send_sms_classic>
</SkebbyApi_Public_Send_SmsEasy_Advanced>

and in \Fazland\SkebbyRestClient\Client\Client::send the responses array would be:

array:1 [
  0 => Fazland\SkebbyRestClient\DataStructure\Response^ {#1998
    -status: "failed"
    -code: null
    -errorMessage: "Unknown error"
    -messageId: null
  }
]
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant