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
com.mailjet.client.errors.MailjetUnauthorizedException: Unauthorized. Please,verify your access key and access secret key or token for the given account
at com.mailjet.client.MailjetResponseUtil.validateMailjetResponse(MailjetResponseUtil.java:32)
at com.mailjet.client.MailjetClient.parseResponse(MailjetClient.java:297)
at com.mailjet.client.MailjetClient.delete(MailjetClient.java:240)
at learning.MailJetApiTest.removeContact(MailJetApiTest.java:145)
at java.base/java.lang.reflect.Method.invoke(Method.java:568)
at java.base/java.util.ArrayList.forEach(ArrayList.java:1511)
at java.base/java.util.ArrayList.forEach(ArrayList.java:1511)
Contact details are immediately anonymized and all records will be deleted after 30 days. (...) The anonymized contact will retain its contact ID and general configuration settings until it is removed when the 30-day period ends.
So it is useless to test if the deletion has really run after the call.
When I perform a delete customer I always receive a 401 code.
The
client
is initialized the "standard" way:Example given a function that returns the customer ID (assuring he/she exists)
output is:
Same if I use a filter such as:
The text was updated successfully, but these errors were encountered: