I am using Jenkins 2.299, I am trying to use the 
publish-over-dropbox(latest version) plugin for jenkins for the first time, 
but when I try to create the credentials using the kind Dropbox api token, 
I generate it and copy paste it to the token field, but then I get an ```A 
problem occurred while processing the request.
Logging ID=a615b9e8-c399-44d3-866a-5e7a71cb9a3e``` error and I get logout. 
Then I get a neverending callstack, this is the few first lines
```
2021-06-29 19:16:57.599+0000 [id=15]    WARNING 
hudson.security.csrf.CrumbFilter#doFilter: Found invalid crumb 
2125f052b3c77f4a957e7b456a7ca37ca80fdd36dcc7a1988fb238cf721f6fb4. If you 
are calling this URL with a script, please use the API Token instead. More 
information: https://www.jenkins.io/redirect/crumb-cannot-be-used-for-script
2021-06-29 19:16:57.599+0000 [id=15]    WARNING 
hudson.security.csrf.CrumbFilter#doFilter: No valid crumb was included in 
request for /credentials/store/system/domain/_/createCredentials by jesus. 
Returning 403.
2021-06-29 19:17:06.152+0000 [id=75]    WARNING 
o.e.j.s.h.ContextHandler$Context#log: Error while serving 
http://localhost:8080/credentials/store/system/domain/_/createCredentials
java.io.IOException: HTTP 400 error Bad Request
Caused: java.io.IOException: {"error_description": "code doesn't exist or 
has expired", "error": "invalid_grant"}
        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 sun.reflect.NativeConstructorAccessorImpl.newInstance0(Native 
Method)
        at sun.reflect.NativeConstructorAccessorImpl.newInstance(Unknown 
Source)
        at 
sun.reflect.DelegatingConstructorAccessorImpl.newInstance(Unknown Source)
        at java.lang.reflect.Constructor.newInstance(Unknown Source)
        at 
org.kohsuke.stapler.RequestImpl.invokeConstructor(RequestImpl.java:541)
Caused: java.lang.IllegalArgumentException
        at 
org.kohsuke.stapler.RequestImpl.invokeConstructor(RequestImpl.java:556)
        at org.kohsuke.stapler.RequestImpl.instantiate(RequestImpl.java:805)
        at org.kohsuke.stapler.RequestImpl.access$200(RequestImpl.java:85)
        at 
org.kohsuke.stapler.RequestImpl$TypePair.convertJSON(RequestImpl.java:690)
```

I have no idea what is causing this, if the plugin is not working or I am 
doing something wrong

-- 
You received this message because you are subscribed to the Google Groups 
"Jenkins Users" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
To view this discussion on the web visit 
https://groups.google.com/d/msgid/jenkinsci-users/7c1bbf4f-73ec-4964-8f18-029e934f6c41n%40googlegroups.com.

Reply via email to