-
Type:
Bug
-
Resolution: Fixed
-
Priority:
Critical
-
Component/s: publish-over-dropbox-plugin
-
None
-
1.3.2
Hi,
I am currently not unable to create a new Dropbox API Token. I had to reinstall Jenkins due to a hardware fault. The system prints following exception:
Caught unhandled exception with ID bfb9c25a-77b9-4cbd-afeb-9a1c0171068a
java.io.IOException: HTTP 400 error Bad Request
Caused: java.io.IOException: {"error": "invalid_client: Invalid client_id or client_secret"}
at org.jenkinsci.plugins.publishoverdropbox.domain.JsonObjectRequest.execute(JsonObjectRequest.java:181)
at org.jenkinsci.plugins.publishoverdropbox.domain.DropboxV2.readAccessTokenFromWeb(DropboxV2.java:576)
Caused: org.jenkinsci.plugins.publishoverdropbox.domain.model.RestException: Error when retrieving access token from Dropbox
at org.jenkinsci.plugins.publishoverdropbox.domain.DropboxV2.readAccessTokenFromWeb(DropboxV2.java:578)
at org.jenkinsci.plugins.publishoverdropbox.domain.DropboxV2.convertAuthorizationToAccessCode(DropboxV2.java:544)
at org.jenkinsci.plugins.publishoverdropbox.impl.DropboxTokenImpl.<init>(DropboxTokenImpl.java:53)
Caused: java.io.IOException: Error when retrieving access token from Dropbox
at org.jenkinsci.plugins.publishoverdropbox.impl.DropboxTokenImpl.<init>(DropboxTokenImpl.java:55)
at java.base/jdk.internal.reflect.NativeConstructorAccessorImpl.newInstance0(Native Method)
at java.base/jdk.internal.reflect.NativeConstructorAccessorImpl.newInstance(NativeConstructorAccessorImpl.java:62)
at java.base/jdk.internal.reflect.DelegatingConstructorAccessorImpl.newInstance(DelegatingConstructorAccessorImpl.java:45)
at java.base/java.lang.reflect.Constructor.newInstance(Constructor.java:490)
at org.kohsuke.stapler.RequestImpl.invokeConstructor(RequestImpl.java:530)
Caused: java.lang.IllegalArgumentException
at org.kohsuke.stapler.RequestImpl.invokeConstructor(RequestImpl.java:545)
at org.kohsuke.stapler.RequestImpl.instantiate(RequestImpl.java:794)
at org.kohsuke.stapler.RequestImpl.access$200(RequestImpl.java:84)
at org.kohsuke.stapler.RequestImpl$TypePair.convertJSON(RequestImpl.java:679)
I installed to plugin using the jenkins built-in plugin installer. Do I need to add a custom dropbox client_secret anywhere?
Best Regards
Markus Fußenegger