Eric Burel @ericburel.tech · Feb 16

It's indeed fixed by using our internal utility. Now I am hitting an error "Unexpected token < in JSON at position 0" This one trips up beginners, but as an experienced bug write, I know what it's all about: an API that should return JSON is instead returning HTML (an error or the wrong page)

0 likes 1 replies

?

Replies

Eric Burel · Feb 16

And 🎉, I can get the survey sitemap! I feel like the typings for my data fetching method are slightly wrong though, because I don't get the sitemap directly, but rather the whole survey definition containing a "sitemap" field. That's fairly minor, the biggest part is there: I can generate pages!