• Skip to main content
  • Skip to primary sidebar

RNTLab.com

The Ultimate Shortcut to Learn Electronics and Programming with Open Source Hardware and Software

  • Courses
  • Forum
    • Forum
    • Ask Question
  • Shop
  • Account
  • Blog
  • Login

Raspberry Pi Pico W Section 9.4 Adafruit IO

Q&A Forum › Category: Questions › Raspberry Pi Pico W Section 9.4 Adafruit IO
0 Vote Up Vote Down
Andrew Paton asked 1 year ago

Hello Sara and Rui.   I’m working my way through the new Raspberry Pi Pico course and I’m stuck in Section 9.4.   I have followed the instructions exactly with regards to Adafruit IO and with the code, and my Pico is connecting, but I only get the following errors :
Response code : 404
Error during request: [Errno 12] ENOMEM
What am I doing incorrectly ?   What do these errors mean ?
Thankyou for your input.   Regards, Andrew

9 Answers
0 Vote Up Vote Down
Sara Santos Staff answered 1 year ago

Hi.
Did you modify the code with the right credentials?
The 404 error means URL not found. You may be inserting something wrong either on the username or feed_name variables…
Can you double-check them?
Regards,
Sara

0 Vote Up Vote Down
Judson Belmont answered 7 months ago

I am having the same problem.  I have recopied your example several times and used the same feed listing / syntax since I am suspecting that may be where the problem lies.

0 Vote Up Vote Down
Sara Santos Staff answered 7 months ago

Hi.
Can you tell me the exact error you’re getting?
Regards,
Sara

0 Vote Up Vote Down
Judson Belmont answered 7 months ago

thank you for your attention to this.
My error is: Connection successful!
IP address: 192.168.1.24
Response code: 404
I have tried a variety of feed names:

# Adafruit IO feed name for controlling the LED
# feed_name = ‘Raspberry_Pi_Pico’ code 404
# feed_name = ‘raspberry_pi_pico’ code 404
# feed_name = ‘Raspberry_Pi_Pico’ code 404
feed_name = ‘raspberry-pi-pico’ code 404
# feed_name = ‘Raspberry Pi Pico’ Code 400 “bad Request”
and have quadruple checked my user name and aio_key
(tried a regenerated aio_key, no success.
rebooted and recopied etc. 

url = f”https://io.adafruit.com/api/v2/{username}/feeds/{feed_name}/data/last” is my url

0 Vote Up Vote Down
Sara Santos Staff answered 7 months ago

Hi.
Can you show me a printscreen of your Adafruit IO dashboard?
To share a printscreen, upload it to Google Drive, imgur, or dropbox and then share a link to the file.
Regards,
Sara

0 Vote Up Vote Down
Judson Belmont answered 7 months ago

Thank you. Here is the link to my google drive
https://drive.google.com/drive/folders/1ZoV-kewiFyuyXtkJJGgFZ8_HHPxBHWFT?usp=share_link

0 Vote Up Vote Down
Sara Santos Staff answered 7 months ago

Hi.
You need to give permission so that I can access those files.
You should have received an email about it.
Regards,
Sara

0 Vote Up Vote Down
Judson Belmont answered 7 months ago

Sarah, thank you. I have provided permission.
I restarted fresh a couple of times and now I am receiving a different error message.
Connection successful!
IP address: 192.168.1.10
Error during request: [Errno 103] ECONNABORTED
Error during request: [Errno 103] ECONNABORTED
Keyboard Interrupt
>>>
Connection successful!
IP address: 192.168.1.10
Error during request: [Errno 103] ECONNABORTED

0 Vote Up Vote Down
Sara Santos Staff answered 7 months ago

Hi.
I think something must have changed because now you need to have at least one value on the feed for the request to work.
Go to the dashboard with the button. Click on it at least one time so that it records some data to the feed.
Then, run the code on the Pico again. It should now work.
It’s working for me with that small change. I followed all the instructions from the start.
Regards,
Sara

Primary Sidebar

Login to Ask or Answer Questions

This Forum is private and it’s only available for members enrolled in our Courses.

Login »

Latest Course Updates

  • [eBook Updated] Learn Raspberry Pi Pico/Pico W with MicroPython eBook – Version 1.2 May 26, 2025
  • [New Edition] Build ESP32-CAM Projects eBook – 2nd Edition April 16, 2025

You must be logged in to view this content.

Contact Support - Refunds - Privacy - Terms - MakerAdvisor.com - Member Login

Copyright © 2013-2025 · RandomNerdTutorials.com · All Rights Reserved

Insert/edit link

Enter the destination URL

Or link to existing content

    No search term specified. Showing recent items. Search or use up and down arrow keys to select an item.