You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Describe the bug
A Server error occurs when parsing or getting the result: INTERNAL_SERVER_ERROR
Abstract type \"AccessCondition\" must resolve to an Object type at runtime for field \"PublicationMetadataV3LitEncryption.accessCondition\". Either the \"AccessCondition\" type should provide a \"resolveType\" function or each possible type should provide an \"isTypeOf\" function.
Or when adding metadata:{mainContentFocus:[PublicationMetadataMainFocusType.Image]} in the query: INTERNAL_SERVER_ERROR
Expected a value of type \"MimeType\" but received: \"image/png\
Describe the bug
A Server error occurs when parsing or getting the result: INTERNAL_SERVER_ERROR
Abstract type \"AccessCondition\" must resolve to an Object type at runtime for field \"PublicationMetadataV3LitEncryption.accessCondition\". Either the \"AccessCondition\" type should provide a \"resolveType\" function or each possible type should provide an \"isTypeOf\" function.
Or when adding metadata:{mainContentFocus:[PublicationMetadataMainFocusType.Image]} in the query: INTERNAL_SERVER_ERROR
Expected a value of type \"MimeType\" but received: \"image/png\
To Reproduce
Call function like:
const mostPopular = await window.lensClient.explore.publications({where:{ publicationTypes:[ExplorePublicationType.Post]},orderBy:ExplorePublicationsOrderByType.LensCurated,limit:LimitType.Ten});
or
const mostPopular = await window.lensClient.explore.publications({where:{ publicationTypes:[ExplorePublicationType.Post],metadata:{mainContentFocus:[PublicationMetadataMainFocusType.Image]}},orderBy:ExplorePublicationsOrderByType.LensCurated,limit:LimitType.Ten});
Also happens with ExplorePublicationsOrderByType.Latest
Expected behavior
No errors
Version of the packages you are using
Happens with client version Lens V2 alpha 2 and 3
Additional context
Seems like some metadata or fragment error getting or expecting the wrong type.
The text was updated successfully, but these errors were encountered: