DocType of "Is Single" retrieved using API call caused Internal Server Error

I have built a DocType of which is “Is Single”.

I created one document.

Tried to retrieve it using API call, but Frappe throws an Internal Server Error 500 - table missing error.

Anyone has idea about what is going on?

Indeed, the table is indeed not created. May be there is a deeper issue here…

The first time I tried to save the DocType, I remember there was a message telling me “Is Single” need to specify Route or Link (something like that). The Save didn’t work.

May be that’s what caused the issue.

Me bad… the record is stored in tabSingles…