question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

Problem with import. Upload failed. Error 400 Bad Request

See original GitHub issue

Import 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:closed
  • Created 3 years ago
  • Comments:9 (3 by maintainers)

github_iconTop GitHub Comments

2reactions
rhansencommented, Feb 18, 2021

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.

1reaction
JohnMcLearcommented, Feb 18, 2021

There does appear to be an issue, will fix ASAP and release. Probably late this afternoon / early tonight.

Read more comments on GitHub >

github_iconTop 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 >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found