FileDb: Unexpected token G


#1

Dear all, I dev a little script for test and run ok. But last 2 days show me de next error (without changes previous):

Error -----------------------------------------------------------------

Message:
Unexpected token G in JSON at position 9420

Stack:
SyntaxError: Unexpected token G in JSON at position 9420
at JSON.parse ()
at FileDb.load (/Users/iclaud/DESARROLLO/AGENTES/Indicadores/node_modules/jovo-db-filedb/src/FileDb.ts:83:46)


Can you help me?

Thanks


#2

Hi @iclaud, welcome to the Jovo Community Forum :wave:

This error sometimes appears when the Jovo FileDB gets corrupted. To fix it, it is usually enough to delete the db/db.json file in your Jovo project.


#3

its Work.
A lot of Thanks @jan !!!


#4

Great! Closing this now


closed #5