I get "failed to test your code"

https://www.codecademy.com/courses/learn-python-3/lessons/python-functions-loops-cc/exercises/odd-indices?action=resume_content_item

also the screen is blank with no skeleton code
is it down?

2 Likes

Here is the skeleton code:

#Write your function here


#Uncomment the line below when your function is done
#print(odd_indices([4, 3, 7, 10, 11, -2]))
4 Likes

yeah but why am I getting a blank page I wasn’t before

3 Likes

I believe you probably lost your connection to Codecademy temporarily, or rather the console window did. Refreshing your web browser should fix it. If not, check out this Troubleshooting Guide. It has information regarding which browsers and devices work best with Codecademy and instructions to make sure everything is up to date. Good luck && happy coding!

4 Likes

I’m having the same problem with the Learn Python: Strings lesson. Every other exercise I get “Failed to test your code.” and the only way to advance is to ask for the solution.

3 Likes

I am experiencing the same error in the Introduction to Pandas module. Even when I go to the solution, copy it, reset exercise, and paste the solution… I get the error.

3 Likes

Same here: it happens here and there, and this time in the python class about strings (see url + upload below).

So in most classes, I don’t get the error.
When I do get the error: I tried the following things: “clear all browsing data” - reset the workbook - refreshed the page - login/logout from codeacademy - opened the lesson in an incognito window.
Also: the error has nothing to do with the code I already entered since the error also pops up when I have not yet typed anything.

This is a bit annoying tbqh. Would love to have more information about this. Feel free to reach out in case you have more questions.

https://www.codecademy.com/courses/learn-python-3/lessons/introduction-to-strings/exercises/silce-a-string?action=resume_content_item

3 Likes

I’ve been having this same problem since yesterday even though my connection is fine and I’ve tried refreshing. Is there something wrong with codeacademy?

4 Likes

I’m having the same issue, as well, in “Learn Python 3” Code Challenge: String Methods, lesson 9.

3 Likes

I have been having the same issue as well for a couple of days

3 Likes

Same problem. It’s been happening for a few days now on Python 3 tutorials.

2 Likes

Same here.
I’m in Intro to Python 3… Modules: Python : 5. Modules Python Files and Scope.

Troubleshot everything I could. Very frustrated.

2 Likes

Hey, everyone. I know what is happening is frustrating. I can confirm that the CodeCademy engineering team is aware of the issue, and they are looking into it. Hang tight. Hopefully it will be fixed soon. I’ve just tried a few Python 3 exercises without issue. If problems persist, please post links to the exercises, so we can check them out.

Update: The issue seems to be resolved. If you continue to have difficulties, please do post a link to the exercise.

6 Likes

It looks like this error is back.
I am getting the “Failed to test your code.” error for many of the exercises in Learn Python 2:

https://www.codecademy.com/courses/learn-python/lessons/python-functions/exercises/parameters-and-arguments?action=resume_content_item

1 Like

Hi @devrockstar25495

Welcome to the forums.

Could you please try the troubleshooting steps which @midlindner has linked to below, and see if they resolve your problem?

:slight_smile:

saying “failed to test your code” even though my connection is fine
https://www.codecademy.com/courses/learn-python-3/lessons/learn-python-loops/exercises/infinite-loops

I’m having the same problem in Learn Data Structures and Algorithms with Python. Very frustrated.