contentstack / gatsby-source-contentstack

Contentstack provides a source plugin for pulling content into Gatsby from Contentstack stacks. It helps you query content types and entries in Gatsby using GraphQL
MIT License
14 stars 31 forks source link

2 instances problem #207

Open sailuna opened 11 months ago

sailuna commented 11 months ago

Hello, i would like to ask about this error im getting when i use the plugin , two times , each for a contentstack instance.

{ error_message: 'Failed to fetch items. Please try again with valid parameters.',
error_code: 141, errors: { sync_token: [ 'is not valid.' ] } }

Is there a solution about it ?

i use different type_prefix for each instance and the proper tokens.

visualjeff commented 11 months ago

Same situation here. We have two instances and use a type_prefix and the plugin falls down with the same error.

{ error_message: 'Failed to fetch items. Please try again with valid parameters.', error_code: 141, errors: { sync_token: [ 'is not valid.' ] } }

Contentstack-AnkitaD commented 11 months ago

I looked into the above issue and tried reproducing the above issue. And following are the findings:

The issue on latest version would need some debugging and We would look into this in coming days.

Thanks !!

kramerkm commented 7 months ago

@Contentstack-AnkitaD Running into this issue on v5.2.0 of the plugin - except each site it is happening on is only running 1 stack. Doesn't seem to be consistent, but has been happening more frequently.