Hexagon Geospatial
MENU

M.App Enterprise

Discuss topics with other M.App Enterprise Product pioneers and experts to get the most out of it.
Showing results for 
Search instead for 
Do you mean 
Reply
Highlighted
Contributor
Posts: 55
Registered: ‎11-15-2018
Accepted Solution

Mobile APP: meaning of id in device log message

Hi,

 

we have an error message in our device log of mobile app.

Could not sync change. Retried 5 times. (Internal Server Error)‎
AppShell.ShellException: Internal Server Error
at AppShell.RestClient.Delete (System.String url) [0x00104] in <766bee195c2c44d0b8a0d10b6648049a>:0

 

What is meaning of id <766bee195c2c44d0b8a0d10b6648049a>?
Is this a table or an entry in a table?

 

Is there a possibility to get more details why there is a sync problem?

 

Thank you very much,
Regards, Iris

Staff
Posts: 591
Registered: ‎11-12-2015

Re: Mobile APP: meaning of id in device log message

Hi Iris,

 

This id will be the GUID of the record and can be found in the database table.

 

HTH

Contributor
Posts: 55
Registered: ‎11-15-2018

Re: Mobile APP: meaning of id in device log message

Hi,

 

hmm, I searched in all tables belonging to app and compared all primary keys of tables with id,
but I didn't find id anywhere.

 

Is it possible that this id is only on local device (new entry) and entry wasn't synchronised yet due to sync problems?

 

Thank you,
regards Iris

Staff
Posts: 591
Registered: ‎11-12-2015

Re: Mobile APP: meaning of id in device log message

[ Edited ]

That's strange. What column have you set as GUID in your shell for this entity? Is it ID?

 

From the message it says 'Delete' action but you claim it is 'New Entry'. Are you adding or deleting feature previous to the sync?

Or perhaps elaborate on what action you take prior to the sync will be helpful.

 

Perhaps in this case it is referencing the session ID, but in my experience it was always GUID.

 

Staff
Posts: 97
Registered: ‎10-25-2016

Re: Mobile APP: meaning of id in device log message

Hi Iris,

 

this id is part of the stacktrace and doesn't have any specific meaning.

 

The details of the internal server error should have been logged in the Studio log.

 

Regards

Christian

Staff
Posts: 591
Registered: ‎11-12-2015

Re: Mobile APP: meaning of id in device log message

I stand corrected. Cschwarz is correct here.

I had assumed this message was coming from the Studio log, but I see now where you say 'device log'.

Contributor
Posts: 55
Registered: ‎11-15-2018

Re: Mobile APP: meaning of id in device log message

Hi,

 

ok, in Studio log (security logs) we could see a conflict with foreign-key constraint, this caused sync problem probably.

But on local device we didn't see any entry which could has caused this constraint conflict.

So the only chance we had was to delete foreign-key constraint on database.

Then, synchronisation worked fine.

After syncing, we didn't see any conflict with foreign-key constraint on new synced data on database,

so we inserted constraint again, and it works.

So what could be reason for sync problem?

 

Is there a possibility to see which entry on local device causes conflict?

Do we have access to stored data on local device?

 

Thank you very much,

regards, Iris

Do you need immediate support?
If you encounter a critical issue and need immediate assistance please submit a Development Ticket through our Development Ticket Portal.