Unexpected non-whitespace character after JSON at position 4

Hey, I copied template of Story Books App - Combine GPT4 + Stable Diffusion, and followed the youtube tutorial by connecting my openai and SD api keys. However, I keep getting an error: "Unexpected non-whitespace character after JSON at position 4" even though my json is correct.

Can you please advise on how to fix it?
Screenshot_2024-06-02_at_4.54.57_PM.png
Was this page helpful?