Skip to main content

I am creating a table like object on a Miro board. Each object requires roughly 100 shapes. I am asynchronously sending HTTP requests to “https://api.miro.com/v2/boards/{board_id}/shapes”. I am aware that uploading shapes is level 2, so there should be a limit of 1000 items per minute. However, even when sending 1 http request per 0.1 seconds, some errors happen:


Error uploading shape to miro, status code: 500
{
  "type" : "error",
  "code" : "3.0023",
  "context" : {
    "boardId" : "uXjVPxuroBA="
  },
  "message" : "Internal error occurred",
  "status" : 500
}

 

I could not find anything about error code 3.0023.

 

My program works 100% okay if I wait 1 second per http request, any ideas what is causing this?

Hey James, 

Thanks for checking on this. I am coordinating with the API team, and I will circle back here when we have an update for you. 

 

Thanks and have a good one. 

 

Best,

Mira


Hello James,

I just got the response from the team and It seems like this is a known issue. We are working on the resolution for this. This is currently a work in progress and we will circle back when we have a resolution nailed down. 

 

Thanks and have a good one.

 

Best,

Mira


Hi, is there any update on this? I am trying to create Miro boards with ~1000s of shapes. Synchronously uploading shapes is taking ~20 minutes.


Hello James,

 

I hope you're having a good day so far. I checked with the team on the updates for your question and use case. They mentioned that they are still evaluating various options to resolve the problem. They are also working on a REST API bulk create endpoint, that allows you to create 20 items with a single call, which could be a good workaround for you. The experimental release is planned in a few weeks from now. I will keep you posted here once that's available as well.


Additionally, can you please try and confirm the following:​

  1. Can you please try this out again and confirm if you still see the same error

    "code" : "3.0023”?

  2. Can you please try to run your requests in parallel and let us know the outcome?

 

​​Please feel free to let me know if we can be of any other assistance. Thanks and have a good one.

 

Best,

Mira


Reply