Receiving 500 error on API call to add file to item

Yep I got an answer here: How to get auth token from client app - #2 by dipro

Thanks!