I am a complete beginner to Swift and I tried following along with this article only to find myself incredibly frustrated that I kept getting ‘unableToDecode’ error messages back after, I felt positive that I followed every direction.

I went over to the repo you have of this project and was annoyed to find you employed ‘bodyEncoding’ in the Router.swift file among others. A quick search through this article yields nothing for ‘bodyEncoding’.

Would this by why all my queries, returned an error saying ‘unableToDecode’?

I’m going to try from the top again, but I’m feeling really stressed out and aggravated, as someone trying to learn under pressure, that I find discrepancies between the lesson and your repo.



is a web developer, opera singer, actor, and lover of cats. (adrian-rosales.tech)

A button that says 'Download on the App Store', and if clicked it will lead you to the iOS App store
A button that says 'Get it on, Google Play', and if clicked it will lead you to the Google Play store