Getting access_token using Java

In addition to what @Dev said, make sure it is POSTing to the URL. Most often, this is an HTTP verb mismatch or simply a URL not being formed properly. The ACCESSTOKEN_URL string looks fine in your code, but I’m not sure what the framework is putting into those values.

1 Like