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

asked 19 Jul '18, 16:21

mpanev's gravatar image

mpanev
1135
accept rate: 0%


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

permanent link

answered 19 Jul '18, 16:54

Stefano%20%28OF%29's gravatar image

Stefano (OF) ♦♦
4.8k119
accept rate: 19%

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

permanent link

answered 19 Jul '18, 17:23

mpanev's gravatar image

mpanev
1135
accept rate: 0%

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

permanent link

answered 24 Jul '18, 08:53

Stefano%20%28OF%29's gravatar image

Stefano (OF) ♦♦
4.8k119
accept rate: 19%

Your answer
toggle preview

Follow this question

By Email:

Once you sign in you will be able to subscribe for any updates here

By RSS:

Answers

Answers and Comments

Markdown Basics

  • *italic* or _italic_
  • **bold** or __bold__
  • link:[text](http://url.com/ "title")
  • image?![alt text](/path/img.jpg "title")
  • numbered list: 1. Foo 2. Bar
  • to add a line break simply add two spaces to where you would like the new line to be.
  • basic HTML tags are also supported

Question tags:

×171

question asked: 19 Jul '18, 16:21

question was seen: 3,377 times

last updated: 24 Jul '18, 08:53