Skip to main content

Slow API response with MirrorValue

  • October 31, 2023
  • 41 replies
  • 1744 views

Show first post

41 replies

Matias.Monday
Forum|alt.badge.img
  • monday.com Team Member
  • December 11, 2023

Hello there @hannes.vanoverscheld,

No updates yet. I will speak with the team and bring back any news as soon as I get them.

Cheers,
Matias


Matias.Monday
Forum|alt.badge.img
  • monday.com Team Member
  • December 11, 2023

Hello again @hannes.vanoverscheld,

I heard back from the team and this should be resolved now.

Let me know if you have any questions or issues!

Cheers,
Matias


Hi Matias, yes I can confirm! Works like a charm, thank you so much to the team!!


Matias.Monday
Forum|alt.badge.img
  • monday.com Team Member
  • December 12, 2023

Happy to help @hannes.vanoverscheld !!


TuomasTammi
  • Participating Frequently
  • December 14, 2023

We’re still having the same issue of slow responses. For boards that have a lot of (10+) mirror columns we can only get a few items (5-10) per page before the requests time out. It looks like the more mirror columns there are, the less items we can get.


Forum|alt.badge.img
  • monday.com Team Member
  • December 18, 2023

Hi Tuomas,

Our team will keep looking at this to see if there are more changes required on our end. We will keep you updated about this. Thanks!

Best,
Joseph


  • Participating Frequently
  • December 18, 2023

With just over three weeks left, and holidays in the middle, do you think 2023-10 is stable enough for actual production and not just labeled “stable”, and for 2023-07 to be discontinued rendering the ability to get many mirrors unreliable?


Matias.Monday
Forum|alt.badge.img
  • monday.com Team Member
  • January 2, 2024

Hello there,

The 2023-10 version is stable for production.

Our team is working on a new deployment that will reduce the response time for queries that include the values of mirror columns. In the meantime, to avoid timeouts, using a low limit per page does the trick 😁

Cheers,
Matias


  • New Participant
  • January 13, 2024

Hi @hannes.vanoverscheld

If you can help me, I’m not able to read the fields in the mirror column through my queries. I’ve tried several approaches, but none of the mirror columns show up. I was only able to bring the items from the linked frame through the use of “BoardRelationValue”, but the data from the mirror columns did not.

In the query I need to have in only one table (use in PowerBI) the name of the element, the data of the linked column and the data of the mirror columns. Can anyone help me ?

I’m definitely missing something.

Tks


Matias.Monday
Forum|alt.badge.img
  • monday.com Team Member
  • January 14, 2024

Hello there @haasaah and welcome to the community!

I hope you like it here 💪

I do not have experience using PowerBI, but API-wise, you can use a query like this one to get the values of the mirror columns:

{
  boards(ids: 1234567890) {
    items_page(limit: 10) {
      items {
        name
        column_values {
          ... on MirrorValue {
            display_value
            id
          }
        }
      }
    }
  }
}

I hope that helps!

Cheers,
Matias


  • New Participant
  • January 16, 2024

Hi @Matias.Monday

Thanks for the feedback.
Regardless of PowerBI, or any other interpreter, using exactly this code, a timeout error occurs in the query. I did two tests using Insomia, where it is faster to validate, on the same BOARD as the screenshot above.

  1. in the first test, I tried a simple reading of the BOARD elements.

{
  boards(ids: 123444234) {
    items_page(limit: 10) {
      items {
        name
        column_values {
          id
					type
					text
					value
        }
      }
    }
  }
}
  1. With the “MirrorValue” method, the query takes time, and then just returns timeout, not bringing the elements.

I don’t know how to proceed, I even did several other tests using “DependencyValue” and “BoardRelationValue”, all without success.

Anyone, any ideas?


Matias.Monday
Forum|alt.badge.img
  • monday.com Team Member
  • January 17, 2024

Hello again @haasaah,

Our team is working on something that will make these queries run faster.

In the meantime, to avoid timeouts, you can use a lower limit for your items_page. That should prevent the timeouts.

Let me know if you have any other questions!

Cheers,
Matias


  • New Participant
  • January 19, 2024

Hi @Matias.Monday , how are you ?

Thank you for the return.

Only in two ways did the reading work:

  • With 1 item - ~2 seconds
  • With 2 items - ~33 seconds (+1550% !!!)
  • With +3 - TIMEOUT.

** prints below.

Considering that I have several tables with 5 to 6k rows, it is impossible to work.

Even trying to perform queries in a loop, it becomes extremely slow and unproductive.

Using API 2023-10 or 2024-01 the problem is the same. We didn’t have this problem before the API change, and I understand the modernization / improvement in queries, but this slowness is a big inconvenience.

Please, is there no expected solution? I still haven’t been able to migrate my queries that need to use MirrorValue, and I have several frames with this model.


Matias.Monday
Forum|alt.badge.img
  • monday.com Team Member
  • January 21, 2024

Hello there @haasaah,

Would you be able to please submit this form so that our team can take a look? Please add the IDs in the information you send, and if you can, please also test this again and let us know about the timestamp (date, hour, minute, ID of the user who is sending the request).

Looking forward to hearing from you!

Cheers,
Matias


  • New Participant
  • January 22, 2024

Hi @Matias.Monday ,

Ok, thanks - I’ll open a ticket.

Regards.


Matias.Monday
Forum|alt.badge.img
  • monday.com Team Member
  • January 23, 2024

Thank you @haasaah !