Search in Marketplace failed due to "missing required JSON property: href"

Still need help?

The Atlassian Community is here for you.

Ask the community

Platform notice: Server and Data Center only. This article only applies to Atlassian products on the Server and Data Center platforms.

Support for Server* products ended on February 15th 2024. If you are running a Server product, you can visit the Atlassian Server end of support announcement to review your migration options.

*Except Fisheye and Crucible

Problem

The following appears in the atlassian-fisheye-20XX-XX-XX.log

2017-04-28 12:03:24,082 WARN [qtp1889057031-321 ] com.atlassian.upm.rest.resources.RecentlyUpdatedPluginCollectionResource RecentlyUpdatedPluginCollectionResource-get - Failed to get available plugins
com.atlassian.marketplace.client.MpacException$InvalidResponseError: Instantiation of [simple type, class com.atlassian.marketplace.client.model.Links$Link] value failed: missing required JSON property: href
at com.atlassian.marketplace.client.impl.JsonEntityEncoding.decode(JsonEntityEncoding.java:43) [atlassian-universal-plugin-manager-plugin-2.20.5_1491993160000.jar:?]
at com.atlassian.marketplace.client.impl.ApiHelperBase.decode(ApiHelperBase.java:247) [atlassian-universal-plugin-manager-plugin-2.20.5_1491993160000.jar:?]
at com.atlassian.marketplace.client.impl.ApiHelperBase.getEntity(ApiHelperBase.java:79) [atlassian-universal-plugin-manager-plugin-2.20.5_1491993160000.jar:?]
at com.atlassian.marketplace.client.impl.PluginsImpl.getMorePlugins(PluginsImpl.java:116) [atlassian-universal-plugin-manager-plugin-2.20.5_1491993160000.jar:?]
at com.atlassian.marketplace.client.impl.PluginsImpl.find(PluginsImpl.java:110) [atlassian-universal-plugin-manager-plugin-2.20.5_1491993160000.jar:?]
at com.atlassian.upm.pac.PacClientImpl.findPlugins(PacClientImpl.java:449) [atlassian-universal-plugin-manager-plugin-2.20.5_1491993160000.jar:?]
at com.atlassian.upm.rest.resources.RecentlyUpdatedPluginCollectionResource.get(RecentlyUpdatedPluginCollectionResource.java:90) [atlassian-universal-plugin-manager-plugin-2.20.5_1491993160000.jar:?]
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) [?:1.8.0_121]
at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62) [?:1.8.0_121]
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43) [?:1.8.0_121]
at java.lang.reflect.Method.invoke(Method.java:498) [?:1.8.0_121]


Resolution

Upgrade your UPM to the latest version using this documentation

 

Last modified on Nov 2, 2018

Was this helpful?

Yes
No
Provide feedback about this article
Powered by Confluence and Scroll Viewport.