Git Product home page Git Product logo

mailosaur-java's People

Contributors

ad-mailosaur avatar dependabot[bot] avatar jm-mailosaur avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar

mailosaur-java's Issues

Search gives me 400s with error about server identifier

Our team is using Mailosaur from JavaScript already and really enjoying it.

I'm now trying out your Java SDK from our Scala codebase and seeing some surprising results.

I can call various endpoints including list without issue:

@ (new com.mailosaur.MailosaurClient(MailosaurConstants.ApiKey)).messages.list(MailosaurConstants.ServerId).items 
res17: java.util.List[com.mailosaur.models.MessageSummary] = []

But if I try to search I get a 400 saying I'm missing a server identifier:

@ MailosaurClient.client.messages.search(MailosaurConstants.ServerId, new SearchCriteria()) 
com.mailosaur.MailosaurException: 400 Bad Request
{"type":"ValidationError","messages":{"criteria":"Please provide a server identifier."}}
  com.mailosaur.MailosaurClient.request(MailosaurClient.java:154)
  com.mailosaur.Messages.search(Messages.java:93)
  ammonite.$sess.cmd18$.<init>(cmd18.sc:1)
  ammonite.$sess.cmd18$.<clinit>(cmd18.sc)

Can you help me with this?

List Messages response is empty

I have a server that has 3 messages in and I can see the count in the List Servers API. However when I run List Messages for that server the response is returned empty. What could be the cause of this?

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.