Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

2 instances problem #207

Open
sailuna opened this issue Oct 23, 2023 · 3 comments
Open

2 instances problem #207

sailuna opened this issue Oct 23, 2023 · 3 comments

Comments

@sailuna
Copy link

sailuna commented Oct 23, 2023

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
Copy link

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
Copy link
Contributor

Contentstack-AnkitaD commented Oct 27, 2023

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

  • The project when connected with 2 Stacks/Instances, when on latest version[v5.1.0], does not support the two stack instances. I encountered the same error.
  • But the same works fine on an older version, I tried it with "gatsby-source-contentstack": "^5.0.4" .
    Please try with the previous version.

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

Thanks !!

@kramerkm
Copy link

@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.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

4 participants