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

MISSING_JSON_TYPE error code is thrown when attempting to restore the appliance #23

Closed
ghost opened this issue Feb 21, 2020 · 0 comments · Fixed by #63
Closed

MISSING_JSON_TYPE error code is thrown when attempting to restore the appliance #23

ghost opened this issue Feb 21, 2020 · 0 comments · Fixed by #63

Comments

@ghost
Copy link

ghost commented Feb 21, 2020

For OneView's X-API-VERSION: 1200 the DTO type for restore is RESTOREV1000. I believe this is causing the below error message when attempting to restore a 5.00 OneView appliance with the default X-API-VERSION.

hpOneView.exceptions.HPOneViewException: ('The "type" field is missing from the JSON.', {'errorCode': 'MISSING_JSON_TYPE', 'message': 'The "type" field is missing from the JSON.', 'details': 'The "type" field was not included in the JSON input of this request, so the request is invalid.', 'recommendedActions': ['Include the "type" field in the JSON and try the request again.'], 'errorSource': None, 'nestedErrors': [], 'data': {}})

spapinwar12 pushed a commit that referenced this issue May 16, 2022
Pull request from PR to Master
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 a pull request may close this issue.

0 participants