Forum Discussion

jkulkarni's avatar
jkulkarni
New Contributor
2 years ago

Swagger UI giving error not enough values to unpack

Hi, I have a simple API with a post endpoint that requires three parameters. When I test it through the python-fask codegen SwaggerUI, I get error saying there are not enough values to unpack.  How t...
  • jkulkarni's avatar
    2 years ago

    The content type should be application/json instead of application_json. The swaggerhub editor should have ideally redlined this.