API

Welcome to the Nutanix NEXT community. To get started please read our short welcome post. Thanks!

cancel
Showing results for 
Search instead for 
Did you mean: 

GET images/{uuid} returns Http Status 500 when item is not found

Wayfarer

GET images/{uuid} returns Http Status 500 when item is not found

Other API calls return Http Status 200 with null body.  This api call use to behave the same way, but I now get the Http Status 500.  Is this new behavior? Is there some configuration on the server that would change the behavior back.

 

prism_gateway.log:

 

ERROR 2017-05-16 09:45:16,904 http-nio-127.0.0.1-9081-exec-1 prism.proxy.ClusterGenericProxy.doSingleExecute:81 Got rpc error kAppError at 127.0.0.1
WARN 2017-05-16 09:45:16,906 http-nio-127.0.0.1-9081-exec-1 commands.acropolis.GetImages.doExecute:85 Error occurred while getting image list
com.nutanix.prism.exception.AcropolisException: Application error kNotFound raised: Unknown images: 91702af0-87d7-4f35-97ff-4a9dca70972f

Tags (1)
3 REPLIES
Community Manager

Re: GET images/{uuid} returns Http Status 500 when item is not found

Thanks for sharing @meliyesil -- I spoke with the team and we have reproduced it and are tracking a fix.

 

Tags (1)
Highlighted
Community Manager

Re: GET images/{uuid} returns Http Status 500 when item is not found

Hi @meliyesil -- ticket has been fixed, you should be good to go. 

Wayfarer

Re: GET images/{uuid} returns Http Status 500 when item is not found

Thank you for the quick turn around.  My issue is resolved.