Rhoban/onshape-to-robot

Resource does not exist

rajkumar2804 opened this issue · 1 comments

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.

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