Swagger Infer Error

Any ideas?

[2020-02-25 11:36:38.773] [error] SyntaxError: Unexpected token  in JSON at position 0
at JSON.parse (<anonymous>)
at hi.infer (file:///C:/Program%20Files/Radzen/resources/app.asar/static/renderer.js:290:2926174)
at hi.componentDidMount (file:///C:/Program%20Files/Radzen/resources/app.asar/static/renderer.js:290:2925980)
at Fo (file:///C:/Program%20Files/Radzen/resources/app.asar/static/renderer.js:189:82387)
at Vo (file:///C:/Program%20Files/Radzen/resources/app.asar/static/renderer.js:189:85062)
at file:///C:/Program%20Files/Radzen/resources/app.asar/static/renderer.js:189:98269
at Object.t.unstable_runWithPriority (file:///C:/Program%20Files/Radzen/resources/app.asar/static/renderer.js:197:3218)
at Cs (file:///C:/Program%20Files/Radzen/resources/app.asar/static/renderer.js:189:98204)
at Is (file:///C:/Program%20Files/Radzen/resources/app.asar/static/renderer.js:189:97980)
at ws (file:///C:/Program%20Files/Radzen/resources/app.asar/static/renderer.js:189:97325)
at Ls (file:///C:/Program%20Files/Radzen/resources/app.asar/static/renderer.js:189:98700)
at Sn (file:///C:/Program%20Files/Radzen/resources/app.asar/static/renderer.js:189:30568)

Is there a file size limit? the swagger is 670K characters.

There shouldn't be a size limit but there could be a hidden BOM handling issue. Is that swagger file something you can edit? Does it have a BOM? Does it work if you remove the BOM? Worth mentioning that Radzen currently supports only Swagger 2.0.

Thanks for your reply. Yeah it's a local file. Just text supposed to be UTF-8. How would I check for BOM?

That was it. Removed BOM using Notepad++
Thanks!

Spoke too soon.

Is there a way to select only a subset of paths from swagger?

No, there isn't. We better check that swagger file of yours. Can you either attach it here or send it over at info@radzen.com?