PyPortal: Astronomy NASA: 422 Error

CircuitPython on hardware including Adafruit's boards, and CircuitPython libraries using Blinka on host computers.

Moderators: adafruit_support_bill, adafruit

Please be positive and constructive with your questions and comments.
Locked
User avatar
Terrman
 
Posts: 7
Joined: Sun Nov 06, 2022 4:45 pm

PyPortal: Astronomy NASA: 422 Error

Post by Terrman »

After loading the PyPortal: Astronomy NASA code bundle (under either CircuitPython ver 7 or 8) and following instructions, running produces a "HttpError: Code 422: Unprocessable Entity" error. All has been done including the Boot.py rename and acquiring the NASA API key. The code runs and displays the NASA image, but then the error occurs. Additionally, the warning message does not appear.

Please advise.

User avatar
Terrman
 
Posts: 7
Joined: Sun Nov 06, 2022 4:45 pm

Re: PyPortal: Astronomy NASA: 422 Error

Post by Terrman »

Never mind, failed to have SD memory installed on the PyPortal. This requirement does not appear to be mentioned in the in the installation instructions.

Working now, but note that that renaming the unsafe_boot.py to boot.py has no effect on operation. Also, the warning message does not appear in the MU serial feed.

User avatar
blakebr
 
Posts: 942
Joined: Tue Apr 17, 2012 6:23 pm

Re: PyPortal: Astronomy NASA: 422 Error

Post by blakebr »

boot.py is only used at power on or a hard reset by pulling *RUN* momentarily to ground.

Locked
Please be positive and constructive with your questions and comments.

Return to “Adafruit CircuitPython”