Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

fix model_configurations post request param type #1956

Merged
merged 1 commit into from
Oct 4, 2023

Conversation

Jami159
Copy link
Contributor

@Jami159 Jami159 commented Oct 4, 2023

Was getting the following error when making a post request to http://localhost:8080/api/model_configurations:

{
    "timestamp": "2023-10-04T18:34:02.816+00:00",
    "status": 500,
    "error": "Internal Server Error",
    "trace": "java.lang.IllegalArgumentException: No serializer found for class java.lang.Object and no properties discovered to create BeanSerializer (to avoid exception, disable SerializationFeature.FAIL_ON_EMPTY_BEANS)...",
    "message": "No serializer found for class java.lang.Object and no properties discovered to create BeanSerializer (to avoid exception, disable SerializationFeature.FAIL_ON_EMPTY_BEANS)",
    "path": "/model_configurations"
}

Specifying the param type fixed it for me.

@Jami159 Jami159 merged commit 8b4ea24 into main Oct 4, 2023
@Jami159 Jami159 deleted the fix_model_configurations_api_param_type branch October 4, 2023 18:58
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants