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

Filter messages by recipient don't seems to works #74

Open
Kalliser opened this issue Mar 15, 2021 · 0 comments
Open

Filter messages by recipient don't seems to works #74

Kalliser opened this issue Mar 15, 2021 · 0 comments

Comments

@Kalliser
Copy link

Kalliser commented Mar 15, 2021

I'm using the API to retrieve message for a specific recipient phone number :

messagebird.messages.list({limit: 200, direction: 'mo', type: 'sms', recipient: phoneNumber}, (err, response) => {
                if (err) {
                    reject(err);
                }
                else
                {
                    [...]
                }

            });

But results always contains messages with unwanted recipients, if tryed different recipent formatting : international, local, even dummy string, but no effect at all on results. I could bypass it by filtering result by myself but it not a solution because of the filtering count limit, who could prevent message to be stuck if I have more than 200 messages from unwanted recipients.

Direct curl request works as intended so the problem is in the nodejs lib.

Could you resolve that ?

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