For the complete documentation index, see llms.txt. This page is also available as Markdown.

Why does generateWidgetSession return a 500?

A 500 with an HTML error page from generateWidgetSession is typically caused by having no data sources enabled in the environment matching the dev-id you are…

A 500 with an HTML error page from generateWidgetSession is typically caused by having no data sources enabled in the environment matching the dev-id you are using (testing and production are separate environments).

To fix it:

1

Enable at least one source in that environment, on the data sources page.

2

Verify your request headers exactly, since header name case-sensitivity can cause the same failure.

Last updated

Was this helpful?