Forum Discussion

Pisey's avatar
Pisey
Occasional Contributor
3 years ago
Solved

Integration error message when created API auto mocking

Hello team,    I'm trying to create API Auto Mocking in SwaggerHub but I still got integration error message with " Could not generate API mock. Please make sure the API definition is valid ", even...
  • sonya_m's avatar
    sonya_m
    4 years ago

    Let me quote what support replied to Veena as this might be of help to others, as well:

     

    >> The reason for this issue is that when you use data from the Excel file (read data) in the Data-Driven testing, it is not possible to write in this file. In this case, I would recommend creating a copy of this Excel file and write all changes there - thus it will help avoid this error.