Alpaca API wont allow me to submit orders

Hey Guys,

Im just getting started with the paper trading API, its letting me get data but when my algorithm tries to submit an order, I get a network error. I cant seem to find anything online about this. Has anyone else had a similar issue first getting started?

Thank you