java.lang.IllegalArgumentException: either chunked encoding must be set on the http request or contentlength set on the payload: {method=POST, endpoint=http://100.19.0.1:9292/v1/images, headers={x-image-meta-name=[new-image-jclouds2], Accept=[application/json], X-Image-Meta-Container_format=[ami], X-Image-Meta-Disk_format=[ami]}, payload=[content=true, contentMetadata=[contentDisposition=null, contentEncoding=null, contentLanguage=null, contentLength=null, contentMD5=null, contentType=application/octet-stream, expires=null], written=false]}

Searched on Google with the first line of a JAVA stack trace?

We can recommend more relevant solutions and speed up debugging when you paste your entire stack trace with the exception message. Try a sample exception.

Recommended solutions based on your search

Solutions on the web

via Google Groups by Sajith Kariyawasam, 6 months ago
either chunked encoding must be set on the http request or contentlength set on the payload: {method=POST, endpoint=http://100.19.0.1:9292/v1/images, headers={x-image-meta-name=[new-image-jclouds2], Accept=[application/json], X-Image-Meta
via GitHub by nightpool
, 4 months ago
The tile size must be a positive integer (was 0)
via Stack Overflow by Gregory Was
, 1 year ago
A project ID is required for this service but could not be determined from the builder or the environment. Please set a project ID using the builder.
via Google Groups by Gregory Was via StackOverflow, 3 months ago
A project ID is required for this service but could not be determined from the builder or the environment. Please set a project ID using the builder.
via Stack Overflow by xbynet2 xbynet2
, 5 months ago
Invalid datasetAndTableString 'test.shade2$20170626'; must match regex '[a-zA-Z0-9_]+.[a-zA-Z0-9_]+'.
via GitHub by BrynCooke
, 2 years ago
Invalid umbrella name provided: 7f0001015528-dunwich1(current). Contains illegal chars
java.lang.IllegalArgumentException: either chunked encoding must be set on the http request or contentlength set on the payload: {method=POST, endpoint=http://100.19.0.1:9292/v1/images, headers={x-image-meta-name=[new-image-jclouds2], Accept=[application/json], X-Image-Meta-Container_format=[ami], X-Image-Meta-Disk_format=[ami]}, payload=[content=true, contentMetadata=[contentDisposition=null, contentEncoding=null, contentLanguage=null, contentLength=null, contentMD5=null, contentType=application/octet-stream, expires=null], written=false]}
at org.jclouds.http.HttpUtils.checkRequestHasRequiredProperties(HttpUtils.java:360)
at org.jclouds.rest.internal.RestAnnotationProcessor.createRequest(RestAnnotationProcessor.java:553)
at org.jclouds.rest.internal.AsyncRestClientProxy.createListenableFutureForHttpRequestMappedToMethodAndArgs(AsyncRestClientProxy.java:237)
at undefined.$Proxy74.create(Unknown Source)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
at java.lang.reflect.Method.invoke(Method.java:597)
at org.jclouds.concurrent.internal.SyncProxy.invoke(SyncProxy.java:164)
at undefined.$Proxy75.create(Unknown Source)

Users with the same issue

Once, 2 weeks ago
6 times, 1 month ago
2 times, 1 month ago
Once, 1 month ago
Once, 1 month ago

Write tip

Know the solutions? Share your knowledge to help other developers to debug faster.