Ask a Question

undefined is not an object (evaluating 'm[b]')

Occasional Contributor

undefined is not an object (evaluating 'm[b]')

I get in Swaggerhub errors "undefined is not an object (evaluating 'm[b]')" that I can't explain.


Can you please tell me what could be wrong with the specifications that could cause this?


I tested the specs with swagger-cli validate and with npm run oas:lint ( and they don't give any error or warning.


Steps to reproduce:

1. Open

2. In the right pane click the caret to open component "WozObjectHal"

3. Now the code pane shows 6 errors "undefined is not an object (evaluating 'm[b]')", all at line 0.

SmartBear Alumni (Retired)

Hi @fsamwel,


Please open a support ticket to troubleshoot this issue:


Helen Kosova
SmartBear Documentation Team Lead
Did my reply answer your question? Give Kudos or Accept it as a Solution to help others. ⬇️⬇️⬇️
Showing results for 
Search instead for 
Did you mean: