---
title: "Collect Mobile - problem with submit data to collect"
url: "https://openforis.support/questions/1878/collect-mobile-problem-with-submit-data-to-collect"
tags: ["collectmobile"]
status: "answered"
score: 0
answer_count: 3
asked: "2018-07-19T16:21:11"
last_activity: "2018-07-24T08:53:38"
source: "Open Foris Support - Q&A Forum"
license: "Copyright Open Foris, 2026. Some rights reserved under creative commons license."
---

# Collect Mobile - problem with submit data to collect

Asked by mpanev on 2018-07-19

Hi,

I am facing a problem when trying to upload data from the CollectMobile to the server.
Testing the server connection in "Settings" works fine, but when actually trying to sync / upload data, I get an error:
"Value <html of type java.lang.String cannot be converted to JSONObject".
Do any of you have some experience with this, as what can be the cause of it?

thanks and regards


## Answer (score 0, by Stefano (OF) on 2018-07-19)

Link: https://openforis.support/questions/1878/collect-mobile-problem-with-submit-data-to-collect/1879

Dear Metodi,  
Maybe the address you specified is wrong.  
Please try to:  
 - specify the address in this format: http://www.yourdomain.org/collect  
 - test the connection to the server using the button in the settings page  


Many thanks,  
Open Foris Team


## Answer (score 0, by mpanev on 2018-07-19)

Link: https://openforis.support/questions/1878/collect-mobile-problem-with-submit-data-to-collect/1880

Hi, 

I have tested the connection to the server using the button in the settings menu. there is shows me no problem, i get successfull connection message. 
but when I try to submit the data to the server, it does not go through. It shows than the message written above in the first post.

Regards


## Answer (score 0, by Stefano (OF) on 2018-07-24)

Link: https://openforis.support/questions/1878/collect-mobile-problem-with-submit-data-to-collect/1882

Dear Metodi,  
Can you double check that the username and password are correct and can you try to login into Collect Desktop using that username and try to create a record?  
Thanks,  
Open Foris Team
