Error in Capitalize

I get this error every time I use the built in wp apis. If I write my own handlers, everything works just fine. Am I doing something wrong?

ypeError: Cannot read property 'split' of undefined
    at __webpack_exports__.default (webpack-internal:///./node_modules/@frontity/wp-source/src/libraries/handlers/utils/capitalize.ts:2:73)
    at Object.eval (webpack-internal:///./node_modules/@frontity/wp-source/src/libraries/handlers/taxonomy.ts:9:300)
    at runMicrotasks (<anonymous>)
    at processTicksAndRejections (internal/process/task_queues.js:94:5)
    at eval (webpack-internal:///./node_modules/@frontity/wp-source/src/actions.ts:12:100)

This sounds like it might be a bug in frontity.

Could you share the URL of the wordpress rest api that you’re using so that I can verify it with a clean frontity project or test your API with the codesandbox or a clean frontity project using npx frontity create capitalizeError?

Sure thing. Here’s the WP dev endpoint:

Hi @mayer.georgep were you able to resolve the problem?

Which built in WP APIs were you referring to here :point_up_2:?