Comments (9)
@cesarenaldi Yeah, it seems this issue is fixed. Thank You.
from lens-sdk.
@jsonpreet the informations provided are not enough to understand the issue can you please clarify in what circumstances this error happens?
from lens-sdk.
@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.
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.
{
"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.
I have also encountered a similar issue. Please review my problem at: #436.
from lens-sdk.
An update here: #436 (comment)
from lens-sdk.
@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.
@jsonpreet did you manage to try the fix on on of the versions mentioned above?
from lens-sdk.
Related Issues (20)
- Add WalletAuthetificationToProfileAuthetification to sdk HOT 3
- Here is the diff that solved my problem: HOT 2
- The 'useOwnedHandles' hook failed to execute correctly in the production environment
- It seems that the data provided by useOwnedHandles is not sufficiently real-time. I am unable to retrieve the profile I purchased through this hook. HOT 2
- Support Node Engine 20 HOT 3
- When I switch to a new wallet, LensProvider doesn't replace with the new signer. Can anyone help me look at this issue HOT 3
- useSetProfileMetadata should update the profile cache returned by useSession HOT 2
- Support wagmi v2 HOT 5
- In the useOpenAction react hook, when the user doesn't have enough funds to collect, an unhandled promise is being thrown instead of being handled by the SDK HOT 7
- Add support for React suspense HOT 9
- Regression in latest version of the SDK 2.0.0-alpha.29 when creating a publication HOT 9
- Get a refreshed access token if expired HOT 29
- SSR support with the React SDK HOT 2
- export 'isObject' (imported as 'isObject') was not found in '@lens-protocol/shared-kernel' HOT 3
- Apollo cache issue when liking or bookmarking your own posts HOT 5
- @lens-protocol/react-web HOT 4
- usePublications failed to execute if one of publication on scope have an invalid encryption condition HOT 1
- verifyFrameSignature: SIGNER_ADDRESS_CANNOT_USE_PROFILE(Lens Frame) HOT 1
- Migrate from `traverse` to `neotraverse`
- Using LensProvider in a page.js router Next.js project HOT 2
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
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.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from lens-sdk.