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

Component not found #30

Open
umitkucuk opened this issue Sep 6, 2021 · 7 comments
Open

Component not found #30

umitkucuk opened this issue Sep 6, 2021 · 7 comments

Comments

@umitkucuk
Copy link

umitkucuk commented Sep 6, 2021

First off, I would like to thank you for creating such an amazing addon for Storybook. 🔥

I am facing a small issue and I may need to get some help.
When the component link is used for zeplinLink, we get a message that says "Component not found".

export default {
  title: 'Button',
  ...
} as Meta

const Template: Story<ButtonProps> = (args) => <Button {...args} />

export const Primary = Template.bind({})
Primary.parameters = {
  zeplinLink: 'https://app.zeplin.io/project/PROJECT_ID/styleguide/components?coid=COMPONENT_ID'
}

When the screen link is used, everything works fine.
zeplinLink: 'https://app.zeplin.io/project/PROJECT_ID/screen/SCREEN_ID'

What am I missing here?

@mertkahyaoglu
Copy link
Contributor

Hi @umitkucuk. Thanks for the kind words.

Does the component reside in the project's local styleguide or is it linked to a styleguide from another organization?
If the latter, it's possible that the token you are using could not have permission to reach that styleguide's component.

@deborah-ufw
Copy link

+100 to umitkucuk's comment concerning the amazing add on!

I'm having a similar problem. I initially linked to my local storybook (my team of Engineers all launch local instances), but the failures to load the local components are happening much more often than not. I'd like to edit the link to attach Zeplin to our public SB instance, but don't see a way to do that.

Is it possible to look for a solution here, or should I open a separate issue?

@umitkucuk
Copy link
Author

Hi @umitkucuk. Thanks for the kind words.

Does the component reside in the project's local styleguide or is it linked to a styleguide from another organization? If the latter, it's possible that the token you are using could not have permission to reach that styleguide's component.

I apologize for the oversight 🙄

We created a user who has viewer access to the project and created an access token from this user account. Currently, all components reside in the local style guide of the project. The problem still occurs.

@mertkahyaoglu
Copy link
Contributor

@umitkucuk Could you share project id and component id along with the id of the user who's trying to access the component so we can investigate what's going on? These are not confidential data but if you are not comfortable sharing them here, you can send an email to me at mert@zeplin.io.

@mertkahyaoglu
Copy link
Contributor

@umitkucuk Are you still having this issue?

@naeem-catchafire
Copy link

I'm having the exact same issue as umitkucuk.
My account has admin access. I created a personal access token, and when I try to link to components in zeplin I get the same error of Component not found

project id: 60d90a5170a144160c8c3c25
component id: 61c394a3d609926cabbc16e2
user id: 5ba108c430beb747efa9bd6b

@umitkucuk
Copy link
Author

@umitkucuk Are you still having this issue?

Yes, unfortunately 😔

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