American British Translator

Tell us what’s happening:
I’m trying to make the project pass all the tests, but all fail, except the first one: ‘I can provide my own project, not the example URL’

I’m trying to make tests pass one by one, starting from the easiest one and then moving to the harder parts. I wrote the solution for the test called: ‘If text is empty, return { error: ‘No text to translate’ }’
It works perfect locally, it works on Repl.it, but whenever I copy the repl link to fcc, the test fails… I’ve tried writing different versions handling empty text error and all of them fail. Guess it’s fcc issue… I’ve passed all previous tasks without major issues, this is the first one. Any help is appreciated, I’ve been struggling with it for 3 days already… :thinking:

Your project link(s)

solution: https://boilerplate-project-american-british-english-translator.malikaefremova.repl.co

Your browser information:

User Agent is: Mozilla/5.0 (Windows NT 6.1; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/88.0.4324.182 Safari/537.36.

Challenge: American British Translator

Link to the challenge:

1 Like

Edit: Working on a solution right now, made a little mistake in the previous post.

1 Like

Thanks for the response. I have there only the empty text error handling code, just click with no text at all, should return the error message.

1 Like

Alright, I don’t really know what’s going on there, but it seems, that something is wrong with the FCC testing… I already passed this challenge and I am also only able to pass the first test. So for now, I would just continue, your code seems to be correct :wink:

Thanks anyway! Is there anyone from the FCC team to look at the issue?

I guess you could move this thread into the FCC support category, but apart from that I wouldn’t know.

Tell us what’s happening:
I’m trying to make the project pass all the tests, but all fail, except the first one: ‘I can provide my own project, not the example URL’

I’m trying to make tests pass one by one, starting from the easiest one and then moving to the harder parts. I wrote the solution for the test called: ‘If text is empty, return { error: ‘No text to translate’ }’
It works perfect locally, it works on Repl.it, but whenever I copy the repl link to fcc, the test fails… I’ve tried writing different versions handling empty text error and all of them fail. Guess it’s fcc issue… I’ve passed all previous tasks without major issues, this is the first one. Any help is appreciated, I’ve been struggling with it for 3 days already…
UPD: posted this issue on general forum, one forum member tried to pass the test using my repl code and failed as well. Guess it’s something fcc test system related. I’d be more than grateful if you can help me get rid off this issue…
:thinking:

Your project link(s)

solution: https://boilerplate-project-american-british-english-translator.malikaefremova.repl.co

Your browser information:

User Agent is: Mozilla/5.0 (Windows NT 6.1; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/88.0.4324.182 Safari/537.36 .

Challenge: American British Translator

Link to the challenge:

1 Like

Hello there,

This looks more like a Repl issue:

Looking in the browser console, when submitting, I get the relevant error:

Failed to load resource: net::ERR_SSL_PROTOCOL_ERROR

This is preventing access to the page.

Thanks for your response. What can I do in this case?

My first thought would be to port your code over to another service. Common services are:

  • Glitch (has had issues in the past)
  • Codesandbox
  • Heroku (requires you to setup deployment, but is relatively easy)

Hope you can get it working. If you get stuck, be sure to reach out with any specific questions

EDIT: I have just combined your posts, as this is not a support issue. Hopefully, we will get more information on what is happening.

1 Like

It was definitely repl issue. moved the project to glitch and already passed some tests. thanks, guys! :heart:

1 Like

Managed to use Gitpod and it worked. In Gitpod, I did the same thing as repl.it, such as creating an .env file.