Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Dropbox integration test authentication failure #4021

Closed
jamesnetherton opened this issue Aug 22, 2022 · 0 comments
Closed

Dropbox integration test authentication failure #4021

jamesnetherton opened this issue Aug 22, 2022 · 0 comments
Assignees
Milestone

Comments

@jamesnetherton
Copy link
Contributor

Caused by: org.apache.camel.ResolveEndpointFailedException: Failed to resolve endpoint: dropbox://put?accessToken=xxxxxx&clientIdentifier=CamelTesting&localPath=target%2Ftest.txt&remotePath=%2Fcamel%2Fquarkus%2F&uploadMode=add due to: option <expireIn> is not present or not valid!
        at org.apache.camel.impl.engine.AbstractCamelContext.doGetEndpoint(AbstractCamelContext.java:985)
        at org.apache.camel.impl.engine.AbstractCamelContext.getEndpoint(AbstractCamelContext.java:867)
        at org.apache.camel.impl.engine.DefaultProducerTemplate.resolveMandatoryEndpoint(DefaultProducerTemplate.java:573)
        at org.apache.camel.impl.engine.DefaultProducerTemplate.requestBodyAndHeader(DefaultProducerTemplate.java:428)
        at org.apache.camel.quarkus.component.dropbox.it.DropboxResource.createFile(DropboxResource.java:56)

Seems we are using a deprecated authentication mechanism. We need to update to use the URI params outlined in the component documentation:

https://camel.apache.org/components/3.18.x/dropbox-component.html

@jamesnetherton jamesnetherton self-assigned this Aug 25, 2022
jamesnetherton added a commit to jamesnetherton/camel-quarkus that referenced this issue Aug 25, 2022
jamesnetherton added a commit to jamesnetherton/camel-quarkus that referenced this issue Aug 25, 2022
jamesnetherton added a commit to jamesnetherton/camel-quarkus that referenced this issue Aug 25, 2022
@ppalaga ppalaga added this to the 2.12.0 milestone Sep 5, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants