Skip to content

Infobip Client does not work with Infobip #9

Open

Description

@minglecm

After upgrading to the latest Infobip client we're seeing errors returned from Infobip that seem to be caused by this commit: 3e36f8e

While that commit brings oneapi-python up to OneApi standards, it seems to be breaking it's support of Infobip's smsmessaging/outbound endpoint:

https://oneapi.infobip.com/1/smsmessaging/outbound/xxxx/requests

Error:

{"clientCorrelator":null,"serviceException":{"messageId":"MISSING_PARAMETER","text":"Missing parameter","variables":["binary or message"],"additionalDescription":null},"variables":null}}

It seems this endpoint expects message to be at the top level and not nested under outboundSMSTextMessage.

Activity

  1. jiceher commented on Jan 30, 2015

    @jiceher
    Contributor

    The message element should be nested in a outboundSMSTextMessage as specified by GSMA. See http://www.gsma.com/oneapi/sms-restful-netapi/ for examples.

  2. minglecm commented on Jan 30, 2015

    @minglecm
    ContributorAuthor

    While that is true for the OneApi standard, it does not appear that Infobip supports message nested inside of outboundSMSTextMessage.

    Their docs state that message should be top level and includes nothing about outboundSMSTextMessage.

    message (string, optional): The text message content.,

    We had no problems with the oneapi-python client until upgrading to a version that contained 3e36f8e.

    Once reverting as well as cURLing the endpoint manually with message nested and message not nested, it was clear that MISSING_PARAMETER was returned when nested.

  3. mmilakovic commented on Feb 19, 2015

    @mmilakovic
    Contributor

    @dentafrice You were right. messageshouldn't be nested inside of outboundSMSTextMessage object. This problem was occurring when json was used as data format. After latest commit everything should be working like before mentioned pull request.

    We deeply apologize because you had to wait for answer. If you have any other question please contact our support (support@infobip.com) or post your question on github repository.

    Best regards,

    Milos

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions