Mod upload returns Bad request
See original GitHub issueThis only happens when trying to upload the biggest mod (Total mayhem, version 1.33, here)
org.springframework.web.client.HttpClientErrorException: 400 Bad Request
at org.springframework.web.client.DefaultResponseErrorHandler.handleError(DefaultResponseErrorHandler.java:91)
at com.faforever.client.api.JsonApiErrorHandler.handleError(JsonApiErrorHandler.java:31)
at org.springframework.security.oauth2.client.http.OAuth2ErrorHandler.handleError(OAuth2ErrorHandler.java:168)
at org.springframework.web.client.RestTemplate.handleResponse(RestTemplate.java:700)
at org.springframework.web.client.RestTemplate.doExecute(RestTemplate.java:653)
at org.springframework.security.oauth2.client.OAuth2RestTemplate.doExecute(OAuth2RestTemplate.java:128)
at org.springframework.web.client.RestTemplate.execute(RestTemplate.java:613)
at org.springframework.web.client.RestTemplate.postForEntity(RestTemplate.java:407)
at com.faforever.client.api.FafApiAccessorImpl.post(FafApiAccessorImpl.java:462)
at com.faforever.client.api.FafApiAccessorImpl.uploadMod(FafApiAccessorImpl.java:259)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at sun.reflect.NativeMethodAccessorImpl.invoke(Unknown Source)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source)
at java.lang.reflect.Method.invoke(Unknown Source)
at org.springframework.aop.support.AopUtils.invokeJoinpointUsingReflection(AopUtils.java:333)
at org.springframework.aop.framework.JdkDynamicAopProxy.invoke(JdkDynamicAopProxy.java:207)
at com.sun.proxy.$Proxy64.uploadMod(Unknown Source)
at com.faforever.client.remote.FafServiceImpl.uploadMod(FafServiceImpl.java:321)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at sun.reflect.NativeMethodAccessorImpl.invoke(Unknown Source)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source)
at java.lang.reflect.Method.invoke(Unknown Source)
at org.springframework.aop.support.AopUtils.invokeJoinpointUsingReflection(AopUtils.java:333)
at org.springframework.aop.framework.JdkDynamicAopProxy.invoke(JdkDynamicAopProxy.java:207)
at com.sun.proxy.$Proxy72.uploadMod(Unknown Source)
at com.faforever.client.mod.ModUploadTask.call(ModUploadTask.java:79)
at com.faforever.client.mod.ModUploadTask.call(ModUploadTask.java:29)
at javafx.concurrent.Task$TaskCallable.call(Task.java:1423)
at java.util.concurrent.FutureTask.run(Unknown Source)
at java.util.concurrent.ThreadPoolExecutor.runWorker(Unknown Source)
at java.util.concurrent.ThreadPoolExecutor$Worker.run(Unknown Source)
at java.lang.Thread.run(Unknown Source)
Issue Analytics
- State:
- Created 6 years ago
- Comments:5 (3 by maintainers)
Top Results From Across the Web
Error 400 (Bad Request) while uploading image through ...
From the error, I suspect that the server is somehow not detecting my filename parameter. I am using this doc as a guide...
Read more >CreateSimpleDocument return error 400 (Bad request) ...
Using CWS web serices the method reateSimpleDocument() return error 400 (Bad Request) when I try to upload file bigger than 750 KB ....
Read more >Bad request (400) error when posting directly to the API ...
Hi,. Having an issue with posting directly to the Cloudinary upload API (without the use of jQuery as noted here in issue #38...
Read more >"400 - Bad Request" observed while trying to upload a file in ...
This issue was observed as the ServerRelativeURL field did not hold the correct value of the path where the file was to be...
Read more >How to Fix a 400 Bad Request Error (Causes and Fixes)
1. Check the Submitted URL · 2. Clear Browser Cache · 3. Clear Browser Cookies · 4. File Upload Exceeds Server Limit ·...
Read more >Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start FreeTop Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
Top GitHub Comments
Uveso has successfully uploaded TotalMayhem so assume this very error to be fixed.
I am getting the same message if i try to upload Total Mayhem. (At least the upload is now working until end 😄)
Client version 0.7.7