Hello, i try to send a POST request with GraphQL / json content which works and returns 200 the server response with an Error.
The headers are 100% correct.
[{“errors”:[{“message”:“Unknown type "MeInput". Did you mean "PluInput"?”,“locations”:[{“line”:1,“column”:58}],“extensions”:{“code”:“GRAPHQL_VALIDATION_FAILED”}},{“message”:“Cannot query field "me" on type "Query".”,“locations”:[{“line”:1,“column”:70}],“extensions”:{“code”:“GRAPHQL_VALIDATION_FAILED”}},{“message”:“Cannot query field "dobDeleted" on type "UserDetails".”,“locations”:[{“line”:1,“column”:1270}],“extensions”:{“code”:“GRAPHQL_VALIDATION_FAILED”}},{“message”:“Cannot query field "phoneVerified" on type "UserDetails". Did you mean "emailVerified"?”,“locations”:[{“line”:1,“column”:1295}],“extensions”:{“code”:“GRAPHQL_VALIDATION_FAILED”}},{“message”:“Cannot query field "favoriteOffers" on type "UserDetails". Did you mean "favoriteStores"?”,“locations”:[{“line”:1,“column”:1805}],“extensions”:{“code”:“GRAPHQL_VALIDATION_FAILED”}},{“message”:“Cannot query field "requiredAcceptanceAgreementInfo" on type "UserDetails".”,“locations”:[{“line”:1,“column”:1859}],“extensions”:{“code”:“GRAPHQL_VALIDATION_FAILED”}}]}]
thx but it also doesnt work.
first i got an error “[{“errors”:[{“message”:“Syntax Error: Unexpected character: U+2026.”,“locations”:[{“line”:1,“column”:190}],“extensions”:{“code”:“GRAPHQL_PARSE_FAILED”}}]}]”
but i fixed it by replacing the “…” from u with “…”.
Still the same error as at the beginning…
Payload: [{“operationName”:“GetMe”,“variables”:{“numUniquePurchasedItems”:10,“customInput”:{“shouldUniqueByModifiers”:false}},“query”:“query GetMe($numUniquePurchasedItems: Int, $customInput: MeInput) { me(numUniquePurchasedItems: $numUniquePurchasedItems, customInput: $customInput) { thLegacyCognitoId cognitoId details { …DetailsFragment __typename } loyaltyId uniquePurchasedItems { name image isExtra isDonation lineId sanityId quantity type price url pickerSelections isInMenu vendorConfigs { …VendorConfigsFragment __typename } children { …CartEntryFragment isInMenu children { …CartEntryFragment isInMenu children { …CartEntryFragment isInMenu children { …CartEntryFragment isInMenu children { …CartEntryFragment isInMenu children { …CartEntryFragment isInMenu __typename } __typename } __typename } __typename } __typename } __typename } __typename } __typename }}fragment DetailsFragment on UserDetails { name dob dobDeleted phoneNumber phoneVerified email emailVerified promotionalEmails isoCountryCode zipcode defaultAccountIdentifier defaultFdAccountId defaultPaymentAccountId defaultReloadAmt autoReloadEnabled autoReloadThreshold deliveryAddresses { addressLine1 addressLine2 city alias country latitude longitude phoneNumber route state streetNumber zip __typename } communicationPreferences { id value __typename } favoriteStores { storeId storeNumber __typename } favoriteOffers { id __typename } loyaltyTier requiredAcceptanceAgreementInfo { id updatedAt __typename } __typename}fragment VendorConfigsFragment on VendorConfigs { ncr { …VendorConfigFragment __typename } ncrDelivery { …VendorConfigFragment __typename } partner { …VendorConfigFragment __typename } partnerDelivery { …VendorConfigFragment __typename } productNumber { …VendorConfigFragment __typename } productNumberDelivery { …VendorConfigFragment __typename } sicom { …VendorConfigFragment __typename } sicomDelivery { …VendorConfigFragment __typename } qdi { …VendorConfigFragment __typename } qdiDelivery { …VendorConfigFragment __typename } rpos { …VendorConfigFragment __typename } rposDelivery { …VendorConfigFragment __typename } simplyDelivery { …VendorConfigFragment __typename } simplyDeliveryDelivery { …VendorConfigFragment __typename } toshibaLoyalty { …VendorConfigFragment __typename } __typename}fragment VendorConfigFragment on VendorConfig { pluType parentSanityId pullUpLevels constantPlu quantityBasedPlu { quantity plu qualifier __typename } multiConstantPlus { quantity plu qualifier __typename } parentChildPlu { plu childPlu __typename } sizeBasedPlu { comboPlu comboSize __typename } __typename}fragment CartEntryFragment on CartEntries { _id: lineId lineId image isDonation isExtra name pickerSelections price quantity sanityId type url redeemable vendorConfigs { …VendorConfigsFragment __typename } __typename}”}]