purldator
(mountain)
9
I feel some other variable exists and is causing this error; one that cannot be seen due to the limited info provided.
Be sure to check these topics in regards to setting up and using the Discourse API, if you have not yet done so.