You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I need to fetch Email Activity using this Java client library. But in this particular case when I need to fetch email activity for "to_email" query param, it is not returning me the filtered results. Instead it is returning me results which are not filtered based on the "to_email" value. I have tried by adding extra params for time range query, etc. but no luck.
Same query when I try by calling directly the API (e.g. using curl or Postman) I get correct filtered results.
I am using the Jar file provided by Sendgrid in my Java 8 based project.
sg = new SendGrid(sendgridApiAccessKey)
request = new Request()
request.setMethod(Method.GET)
request.setEndpoint("messages")
request.addQueryParam("limit", "10")
request.addQueryParam("to_email", "[email protected]")
response = sg.api(request)
The text was updated successfully, but these errors were encountered:
I need to fetch Email Activity using this Java client library. But in this particular case when I need to fetch email activity for "to_email" query param, it is not returning me the filtered results. Instead it is returning me results which are not filtered based on the "to_email" value. I have tried by adding extra params for time range query, etc. but no luck.
Same query when I try by calling directly the API (e.g. using curl or Postman) I get correct filtered results.
I am using the Jar file provided by Sendgrid in my Java 8 based project.
The text was updated successfully, but these errors were encountered: