Welcome to the Onshape forum! Ask questions and join in the discussions about everything Onshape.

First time visiting? Here are some places to start:

  1. Looking for a certain topic? Check out the categories filter or use Search (upper right).
  2. Need support? Ask a question to our Community Support category.
  3. Please submit support tickets for bugs but you can request improvements in the Product Feedback category.
  4. Be respectful, on topic and if you see a problem, Flag it.

If you would like to contact our Community Manager personally, feel free to send a private message or an email.

smexportonshape (Simscape Multibody export) returns 429 "Too Many Requests" on translation API

md_didarul_alam699
md_didarul_alam699 Member Posts: 2 ✭

Hi all,

I'm trying to export an Onshape assembly to Simscape Multibody (MATLAB) using the smexportonshape function, and I'm consistently hitting a rate-limit error from the Onshape API.

Setup:

  • MATLAB R2025b, Simscape Multibody
  • Onshape assembly with 26 part instances (pistons, cylinders, arm/boom segments — a truck-mounted crane model)

Error message:
Error using smexportonshape_implementation
The server returned the status 429 with message "Too Many Requests" in response to the request to URL:
https://cad.onshape.com/api/partstudios/d/.../translations

What I've tried:

  • Waiting several minutes and retrying — same error
  • Testing with a completely different, unrelated Onshape document — same 429 error
  • This suggests it's an account-level or app-level quota, not specific to one assembly

Questions:

  1. Is there a daily/hourly quota on the Simscape Multibody Exporter app's translation API calls for free/personal Onshape accounts?
  2. Does an Onshape Education plan (e.g. through a university) have a higher quota for this?
  3. Is there a way to check my current quota/usage, or an expected reset time?

Any guidance would be appreciated — happy to share more details (account type, exact timestamps) if useful.

Thanks!

Answers

  • Daniel_Kane
    Daniel_Kane Member, Onshape Employees Posts: 35 image

    Hello - it sounds like you are running into rate limits on your account. This is not specific to the SimScape app, but calls made through it contribute to your account being rate-limited. More details here: https://onshape-public.github.io/docs/auth/limits/

    I manage partner relationships for Onshape and will work with the app developers to clearly communicate this to app users.