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

Resource does not exist #83

Open
rajkumar2804 opened this issue Jul 6, 2022 · 1 comment
Open

Resource does not exist #83

rajkumar2804 opened this issue Jul 6, 2022 · 1 comment

Comments

@rajkumar2804
Copy link

rajkumar2804 commented Jul 6, 2022

Hi everyone,
I am trying to use onshape-to-robot api to generate urdf file. I have my own onshape workspace and exported the access_key and secret_key in the environment.

Create a folder named abc_assembly and it have the config.json file.

But when I try to create the urdf using the following command
onshape-to-robot abc_assembly

After adding some parts in the tree,the following Resource not found error comes up every time for a particular part.

issue

! ERROR (403) while using OnShape API
! {
  "moreInfoUrl" : "",
  "message" : "Resource does not exist, or you do not have permission to access it.",
  "status" : 403,
  "code" : 0
}

I consider all the possibilities of failure.

  1. Sync the system time with universal time
  2. Access key and Secret key is successful imported in the environment
  3. Have my own copy of the onshape workspace

Don't know what's going wrong.Because it is successfully generating urdf for the other onshape document.

Something I noticed that on Resource does not exist the documentId is different from the what actually in the config.json file. So, My guess is that it is causing the failure of the urdf generation. But didn't know why it's showing this behaviour.

@rajkumar2804 rajkumar2804 changed the title Resources does not exist Resource does not exist Jul 6, 2022
@andrestoga
Copy link

Could you please post all the output as a text and not as an image so it's searchable?

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

2 participants