Skip to content

error while trying to send sms #23

@crystalbit

Description

@crystalbit

I do:

sendpulse.init(API_USER_ID, API_SECRET, TOKEN_STORAGE, function() {
    sendpulse.smsSend(answerGetter, "test", ["+7........"], 'test sms');
})

answerGetter gives no information, just { error: 1 }
so, if I log the server answer, I get

...
    <body>
                    <div id="sf-resetcontent" class="sf-reset">
                <h1>Whoops, looks like something went wrong.</h1>
                
            </div>
    </body>
</html>

(I write console.log(str) in try block in response.on('end', function () { in sendpulse.js)

Maybe this is sendpulse issue BUT I need to have any information on error, not just {error:1} :)

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions