GithubHelp home page GithubHelp logo

Comments (9)

jsonpreet avatar jsonpreet commented on August 28, 2024 1

@cesarenaldi Yeah, it seems this issue is fixed. Thank You.

from lens-sdk.

cesarenaldi avatar cesarenaldi commented on August 28, 2024

@jsonpreet the informations provided are not enough to understand the issue can you please clarify in what circumstances this error happens?

from lens-sdk.

jsonpreet avatar jsonpreet commented on August 28, 2024

@cesarenaldi Sir I am using useFeed hook and whenever I visit or reload the page (Where I am using this hook) I got the above (attached) error.

from lens-sdk.

cesarenaldi avatar cesarenaldi commented on August 28, 2024

it looks like a malformed decryption criteria leaked into the indexed data. Can you please give me a full JSON copy of the network response you have in dev tools for the feed request?

from lens-sdk.

jsonpreet avatar jsonpreet commented on August 28, 2024
{

    "operationName":"GetPublications",
    "variables":{
        "profileId":"0x013cee",
        "observerId":"0x016efc",
        "limit":20,
        "metadata":{
        },
        "sources":[
        ]
    },
    "query":"query GetPublications($profileId: ProfileId, $observerId: ProfileId, $limit: LimitScalar!, $cursor: Cursor, $publicationTypes: [PublicationTypes!], $sources: [Sources!]!, $metadata: PublicationMetadataFilters, $commentsOf: InternalPublicationId, $walletAddress: EthereumAddress) {\n result: publications(\n request: {profileId: $profileId, limit: $limit, collectedBy: $walletAddress, cursor: $cursor, publicationTypes: $publicationTypes, commentsOf: $commentsOf, sources: $sources, metadata: $metadata}\n ) {\n items {\n ... on Post {\n ...Post\n __typename\n }\n ... on Mirror {\n ...Mirror\n __typename\n }\n ... on Comment {\n ...Comment\n __typename\n }\n __typename\n }\n pageInfo {\n ...PaginatedResultInfo\n __typename\n }\n __typename\n }\n}\n\nfragment Post on Post {\n __typename\n id\n stats {\n ...PublicationStats\n __typename\n }\n metadata {\n ...MetadataOutput\n __typename\n }\n profile {\n ...Profile\n __typename\n }\n collectedBy {\n ...Wallet\n __typename\n }\n collectModule {\n ... on AaveFeeCollectModuleSettings {\n ...AaveFeeCollectModuleSettings\n __typename\n }\n ... on ERC4626FeeCollectModuleSettings {\n ...Erc4626FeeCollectModuleSettings\n __typename\n }\n ... on MultirecipientFeeCollectModuleSettings {\n ...MultirecipientFeeCollectModuleSettings\n __typename\n }\n ... on UnknownCollectModuleSettings {\n ...UnknownCollectModuleSettings\n __typename\n }\n ... on FreeCollectModuleSettings {\n ...FreeCollectModuleSettings\n __typename\n }\n ... on FeeCollectModuleSettings {\n ...FeeCollectModuleSettings\n __typename\n }\n ... on LimitedFeeCollectModuleSettings {\n ...LimitedFeeCollectModuleSettings\n __typename\n }\n ... on LimitedTimedFeeCollectModuleSettings {\n ...LimitedTimedFeeCollectModuleSettings\n __typename\n }\n ... on RevertCollectModuleSettings {\n ...RevertCollectModuleSettings\n __typename\n }\n ... on TimedFeeCollectModuleSettings {\n ...TimedFeeCollectModuleSettings\n __typename\n }\n ... on SimpleCollectModuleSettings {\n ...SimpleCollectModuleSettings\n __typename\n }\n __typename\n }\n collectNftAddress\n referenceModule {\n ... on FollowOnlyReferenceModuleSettings {\n ...FollowOnlyReferenceModuleSettings\n __typename\n }\n ... on DegreesOfSeparationReferenceModuleSettings {\n ...DegreesOfSeparationReferenceModuleSettings\n __typename\n }\n ... on UnknownReferenceModuleSettings {\n ...UnknownReferenceModuleSettings\n __typename\n }\n __typename\n }\n createdAt\n hidden\n isGated\n reaction(request: {profileId: $observerId})\n hasCollectedByMe\n canComment(profileId: $observerId) {\n result\n __typename\n }\n canMirror(profileId: $observerId) {\n result\n __typename\n }\n mirrors(by: $observerId)\n canObserverDecrypt: canDecrypt(profileId: $observerId) {\n result\n reasons\n __typename\n }\n}\n\nfragment PublicationStats on PublicationStats {\n __typename\n totalAmountOfMirrors\n totalUpvotes\n totalDownvotes\n totalAmountOfCollects\n totalAmountOfComments\n commentsCount: commentsTotal(forSources: $sources)\n}\n\nfragment MetadataOutput on MetadataOutput {\n __typename\n animatedUrl\n content\n contentWarning\n description\n image\n locale\n mainContentFocus\n name\n media {\n ...MediaSet\n __typename\n }\n attributes {\n ...MetadataAttributeOutput\n __typename\n }\n encryptionParams {\n ...EncryptionParamsOutput\n __typename\n }\n tags\n}\n\nfragment MediaSet on MediaSet {\n __typename\n original {\n ...Media\n __typename\n }\n}\n\nfragment Media on Media {\n __typename\n altTag\n cover\n mimeType\n url\n}\n\nfragment MetadataAttributeOutput on MetadataAttributeOutput {\n __typename\n traitType\n value\n}\n\nfragment EncryptionParamsOutput on EncryptionParamsOutput {\n __typename\n accessCondition {\n ...RootConditionOutput\n __typename\n }\n encryptionProvider\n encryptedFields {\n ...EncryptedFieldsOutput\n __typename\n }\n providerSpecificParams {\n encryptionKey\n __typename\n }\n}\n\nfragment RootConditionOutput on AccessConditionOutput {\n __typename\n or {\n criteria {\n ...AnyConditionOutput\n __typename\n }\n __typename\n }\n}\n\nfragment AnyConditionOutput on AccessConditionOutput {\n __typename\n ...LeafConditionOutput\n or {\n ...OrConditionOutput\n __typename\n }\n and {\n ...AndConditionOutput\n __typename\n }\n}\n\nfragment LeafConditionOutput on AccessConditionOutput {\n __typename\n nft {\n ...NftOwnershipOutput\n __typename\n }\n token {\n ...Erc20OwnershipOutput\n __typename\n }\n eoa {\n ...EoaOwnershipOutput\n __typename\n }\n profile {\n ...ProfileOwnershipOutput\n __typename\n }\n follow {\n ...FollowConditionOutput\n __typename\n }\n collect {\n ...CollectConditionOutput\n __typename\n }\n}\n\nfragment NftOwnershipOutput on NftOwnershipOutput {\n __typename\n contractAddress\n chainID\n contractType\n tokenIds\n}\n\nfragment Erc20OwnershipOutput on Erc20OwnershipOutput {\n __typename\n amount\n chainID\n condition\n contractAddress\n decimals\n name\n symbol\n}\n\nfragment EoaOwnershipOutput on EoaOwnershipOutput {\n __typename\n address\n}\n\nfragment ProfileOwnershipOutput on ProfileOwnershipOutput {\n __typename\n profileId\n}\n\nfragment FollowConditionOutput on FollowConditionOutput {\n __typename\n profileId\n}\n\nfragment CollectConditionOutput on CollectConditionOutput {\n __typename\n publicationId\n thisPublication\n}\n\nfragment OrConditionOutput on OrConditionOutput {\n __typename\n criteria {\n ...LeafConditionOutput\n __typename\n }\n}\n\nfragment AndConditionOutput on AndConditionOutput {\n __typename\n criteria {\n ...LeafConditionOutput\n __typename\n }\n}\n\nfragment EncryptedFieldsOutput on EncryptedFieldsOutput {\n __typename\n animation_url\n content\n external_url\n image\n media {\n original {\n ...EncryptedMedia\n __typename\n }\n __typename\n }\n}\n\nfragment EncryptedMedia on EncryptedMedia {\n __typename\n altTag\n cover\n mimeType\n url\n}\n\nfragment Profile on Profile {\n __typename\n id\n name\n bio\n handle\n ownedBy\n interests\n picture {\n ... on NftImage {\n ...NftImage\n __typename\n }\n ... on MediaSet {\n ...MediaSet\n __typename\n }\n __typename\n }\n coverPicture {\n ... on NftImage {\n ...NftImage\n __typename\n }\n ... on MediaSet {\n ...MediaSet\n __typename\n }\n __typename\n }\n stats {\n ...ProfileStats\n __typename\n }\n followModule {\n ... on FeeFollowModuleSettings {\n ...FeeFollowModuleSettings\n __typename\n }\n ... on ProfileFollowModuleSettings {\n ...ProfileFollowModuleSettings\n __typename\n }\n ... on RevertFollowModuleSettings {\n ...RevertFollowModuleSettings\n __typename\n }\n ... on UnknownFollowModuleSettings {\n ...UnknownFollowModuleSettings\n __typename\n }\n __typename\n }\n __attributes: attributes {\n ...Attribute\n __typename\n }\n dispatcher {\n address\n canUseRelay\n __typename\n }\n onChainIdentity {\n proofOfHumanity\n ens {\n name\n __typename\n }\n sybilDotOrg {\n verified\n source {\n twitter {\n handle\n __typename\n }\n __typename\n }\n __typename\n }\n worldcoin {\n isHuman\n __typename\n }\n __typename\n }\n isFollowedByMe\n isFollowingObserver: isFollowing(who: $observerId)\n}\n\nfragment NftImage on NftImage {\n __typename\n contractAddress\n tokenId\n uri\n verified\n}\n\nfragment ProfileStats on ProfileStats {\n __typename\n totalCollects\n totalComments\n totalFollowers\n totalFollowing\n totalMirrors\n totalPosts\n totalPublications\n commentsCount: commentsTotal(forSources: $sources)\n postsCount: postsTotal(forSources: $sources)\n mirrorsCount: mirrorsTotal(forSources: $sources)\n}\n\nfragment FeeFollowModuleSettings on FeeFollowModuleSettings {\n __typename\n amount {\n ...ModuleFeeAmount\n __typename\n }\n contractAddress\n recipient\n}\n\nfragment ModuleFeeAmount on ModuleFeeAmount {\n __typename\n asset {\n ...Erc20Fields\n __typename\n }\n value\n}\n\nfragment Erc20Fields on Erc20 {\n __typename\n name\n symbol\n decimals\n address\n}\n\nfragment ProfileFollowModuleSettings on ProfileFollowModuleSettings {\n __typename\n contractAddress\n}\n\nfragment RevertFollowModuleSettings on RevertFollowModuleSettings {\n __typename\n contractAddress\n}\n\nfragment UnknownFollowModuleSettings on UnknownFollowModuleSettings {\n __typename\n contractAddress\n}\n\nfragment Attribute on Attribute {\n __typename\n displayType\n key\n value\n}\n\nfragment Wallet on Wallet {\n __typename\n address\n defaultProfile {\n ...Profile\n __typename\n }\n}\n\nfragment AaveFeeCollectModuleSettings on AaveFeeCollectModuleSettings {\n __typename\n amount {\n ...ModuleFeeAmount\n __typename\n }\n collectLimitOptional: collectLimit\n contractAddress\n followerOnly\n endTimestampOptional: endTimestamp\n recipient\n referralFee\n}\n\nfragment Erc4626FeeCollectModuleSettings on ERC4626FeeCollectModuleSettings {\n __typename\n amount {\n ...ModuleFeeAmount\n __typename\n }\n collectLimitOptional: collectLimit\n contractAddress\n followerOnly\n endTimestampOptional: endTimestamp\n recipient\n referralFee\n vault\n}\n\nfragment MultirecipientFeeCollectModuleSettings on MultirecipientFeeCollectModuleSettings {\n __typename\n amount {\n ...ModuleFeeAmount\n __typename\n }\n collectLimitOptional: collectLimit\n contractAddress\n followerOnly\n endTimestampOptional: endTimestamp\n recipients {\n recipient\n split\n __typename\n }\n referralFee\n}\n\nfragment UnknownCollectModuleSettings on UnknownCollectModuleSettings {\n __typename\n contractAddress\n collectModuleReturnData\n}\n\nfragment FreeCollectModuleSettings on FreeCollectModuleSettings {\n __typename\n contractAddress\n followerOnly\n}\n\nfragment FeeCollectModuleSettings on FeeCollectModuleSettings {\n __typename\n amount {\n ...ModuleFeeAmount\n __typename\n }\n contractAddress\n followerOnly\n recipient\n referralFee\n}\n\nfragment LimitedFeeCollectModuleSettings on LimitedFeeCollectModuleSettings {\n __typename\n amount {\n ...ModuleFeeAmount\n __typename\n }\n collectLimit\n contractAddress\n followerOnly\n recipient\n referralFee\n}\n\nfragment LimitedTimedFeeCollectModuleSettings on LimitedTimedFeeCollectModuleSettings {\n __typename\n amount {\n ...ModuleFeeAmount\n __typename\n }\n collectLimit\n contractAddress\n followerOnly\n endTimestamp\n recipient\n referralFee\n}\n\nfragment RevertCollectModuleSettings on RevertCollectModuleSettings {\n __typename\n contractAddress\n}\n\nfragment TimedFeeCollectModuleSettings on TimedFeeCollectModuleSettings {\n __typename\n amount {\n ...ModuleFeeAmount\n __typename\n }\n contractAddress\n followerOnly\n endTimestamp\n recipient\n referralFee\n}\n\nfragment SimpleCollectModuleSettings on SimpleCollectModuleSettings {\n __typename\n contractAddress\n followerOnly\n feeOptional: fee {\n amount {\n ...ModuleFeeAmount\n __typename\n }\n referralFee\n recipient\n __typename\n }\n collectLimitOptional: collectLimit\n endTimestampOptional: endTimestamp\n}\n\nfragment FollowOnlyReferenceModuleSettings on FollowOnlyReferenceModuleSettings {\n __typename\n contractAddress\n}\n\nfragment DegreesOfSeparationReferenceModuleSettings on DegreesOfSeparationReferenceModuleSettings {\n __typename\n contractAddress\n commentsRestricted\n degreesOfSeparation\n mirrorsRestricted\n}\n\nfragment UnknownReferenceModuleSettings on UnknownReferenceModuleSettings {\n __typename\n contractAddress\n referenceModuleReturnData\n}\n\nfragment Mirror on Mirror {\n __typename\n ...MirrorBase\n mirrorOf {\n ... on Post {\n ...Post\n __typename\n }\n ... on Comment {\n ...Comment\n __typename\n }\n __typename\n }\n}\n\nfragment MirrorBase on Mirror {\n __typename\n id\n createdAt\n profile {\n ...Profile\n __typename\n }\n hidden\n}\n\nfragment Comment on Comment {\n __typename\n ...CommentBase\n commentOn {\n ... on Post {\n ...Post\n __typename\n }\n ... on Mirror {\n ...MirrorBase\n __typename\n }\n ... on Comment {\n ...CommentBase\n __typename\n }\n __typename\n }\n mainPost {\n ... on Post {\n ...Post\n __typename\n }\n ... on Mirror {\n ...MirrorBase\n __typename\n }\n __typename\n }\n firstComment {\n ...CommentBase\n __typename\n }\n}\n\nfragment CommentBase on Comment {\n __typename\n id\n stats {\n ...PublicationStats\n __typename\n }\n metadata {\n ...MetadataOutput\n __typename\n }\n profile {\n ...Profile\n __typename\n }\n collectedBy {\n ...Wallet\n __typename\n }\n collectModule {\n ... on AaveFeeCollectModuleSettings {\n ...AaveFeeCollectModuleSettings\n __typename\n }\n ... on ERC4626FeeCollectModuleSettings {\n ...Erc4626FeeCollectModuleSettings\n __typename\n }\n ... on MultirecipientFeeCollectModuleSettings {\n ...MultirecipientFeeCollectModuleSettings\n __typename\n }\n ... on UnknownCollectModuleSettings {\n ...UnknownCollectModuleSettings\n __typename\n }\n ... on FreeCollectModuleSettings {\n ...FreeCollectModuleSettings\n __typename\n }\n ... on FeeCollectModuleSettings {\n ...FeeCollectModuleSettings\n __typename\n }\n ... on LimitedFeeCollectModuleSettings {\n ...LimitedFeeCollectModuleSettings\n __typename\n }\n ... on LimitedTimedFeeCollectModuleSettings {\n ...LimitedTimedFeeCollectModuleSettings\n __typename\n }\n ... on RevertCollectModuleSettings {\n ...RevertCollectModuleSettings\n __typename\n }\n ... on TimedFeeCollectModuleSettings {\n ...TimedFeeCollectModuleSettings\n __typename\n }\n ... on SimpleCollectModuleSettings {\n ...SimpleCollectModuleSettings\n __typename\n }\n __typename\n }\n collectNftAddress\n referenceModule {\n ... on FollowOnlyReferenceModuleSettings {\n ...FollowOnlyReferenceModuleSettings\n __typename\n }\n ... on DegreesOfSeparationReferenceModuleSettings {\n ...DegreesOfSeparationReferenceModuleSettings\n __typename\n }\n ... on UnknownReferenceModuleSettings {\n ...UnknownReferenceModuleSettings\n __typename\n }\n __typename\n }\n createdAt\n hidden\n isGated\n reaction(request: {profileId: $observerId})\n hasCollectedByMe\n canComment(profileId: $observerId) {\n result\n __typename\n }\n canMirror(profileId: $observerId) {\n result\n __typename\n }\n canObserverDecrypt: canDecrypt(profileId: $observerId) {\n result\n reasons\n __typename\n }\n mirrors(by: $observerId)\n}\n\nfragment PaginatedResultInfo on PaginatedResultInfo {\n __typename\n prev\n next\n totalCount\n}"

}

from lens-sdk.

jingledongding avatar jingledongding commented on August 28, 2024

I have also encountered a similar issue. Please review my problem at: #436.

from lens-sdk.

cesarenaldi avatar cesarenaldi commented on August 28, 2024

An update here: #436 (comment)

from lens-sdk.

cesarenaldi avatar cesarenaldi commented on August 28, 2024

@jsonpreet a fix for this is now available in @1.2.2 and @next versions.

Please let me know so we can close this issue.

from lens-sdk.

cesarenaldi avatar cesarenaldi commented on August 28, 2024

@jsonpreet did you manage to try the fix on on of the versions mentioned above?

from lens-sdk.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.