iReporter Json Error

After following the tutorial for iReporter, I am seeing an Error when attempting to login or register. The error is:

Error
Expected content type {“text/json”, “application/json”, “text/javascript”)}, got text/html

I am not sure whats creating the error. I am using

#define kAPIHost @“http://192.168.1.11:8888

and

#define kAPIPath @“Hi2/”

for the path. Any ideas?

Hi @hackchains, could you post a code snippet and or the error from the debugger so we can try to help out better? I’m unable to understand how to solve this issue properly.

Best,
Gina

Hey, I got it to work but now it’s saying ‘registration failed’

my debugger isn’t outputting anything. it’s weird. i’ll keep troubleshooting

@hackchains Do you still have issues with this?

This topic was automatically closed after 166 days. New replies are no longer allowed.