I am using this code to connect using /v3/connect
CodeExchangeRequest codeRequest = new CodeExchangeRequest(
"http://localhost:8085/api/v1/mailing/oauth/exchange",
code, // authorization code
"c9314065-1236-412b-a943-9b947170d56b", // client ID
null,
"nylas"
);
try {
CodeExchangeResponse codeResponse = nylasClient.auth().exchangeCodeForToken(codeRequest);
And i am getting this Error: Received an error but could not parse response from the server: Method Not Allowed
NB : My code was working fine