Problem with import. Upload failed. Error 400 Bad Request
See original GitHub issueImport File doesn’t work I can’t import a text file. I searched through existing issues and can’t find a similar problem. I thought it was my nginx config but I finally tested without plugins and directly calling the backend with http://myserverip:9001 and the problem was there.
To Reproduce
Etherpad running through docker-compose in an updated Ubuntu Server 20.04
version: "3"
services:
server:
image: etherpad/etherpad
restart: always
environment:
- ADMIN_PASSWORD=secretpassword
volumes:
- /opt/docker-etherpad/data:/opt/etherpad-lite/var
ports:
- "9001:9001"
Expected behavior Text file should be imported and replace the text with its contents.
Desktop:
- OS: KDE Neon (Ubuntu 20.04)
- Browser Firefox 85 and Chromium 88
Additional context Error says: Import failed: The upload failed, please try again The Browser shows a 400 Bad Request error: and as response:
{"code":1,"message":"uploadFailed","data":{}}
I don’t see anything in the docker logs.
Issue Analytics
- State:
- Created 3 years ago
- Comments:9 (3 by maintainers)
Top Results From Across the Web
400 Bad Request Error: What It Is and How to Fix It
The 400 Bad Request Error is an HTTP response status code indicating that the server was unable to process the request sent by...
Read more >Import fails with error 400 if .vcf file have at least one record ...
Select "Upload addressbook or calendar"; Upload exported vcf with your contacts; Error 400. Error message from logs: Bad PUT request on '/user/ ...
Read more >How to Fix The 400 Bad Request Error on WordPress?
Check the Solicited URL Wrong URL strings are the most common reasons for a 400 Bad Request error. Check that there are no...
Read more >400 Bad Request when attempting to import CSV file into ...
About import CSV file into Google Drive Spreadsheet , you want to put the values of a CSV file to the existing Spreadsheet?...
Read more >API Import 400 Bad Request Error when uploading pbix file
However, when I run an Import on the api, it always says 400 Error Bad Request. I am going to post my code...
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 Free
Top 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
This should be fixed by https://github.com/ether/etherpad-lite/pull/4817/commits/30dbdf29f42ec90fcccc37a02db35b20cae4d61c. Please check out the latest
develop
branch and let us know if you still have problems.There does appear to be an issue, will fix ASAP and release. Probably late this afternoon / early tonight.