Resource Management - API Error [Code:500] - [Message: Internal Error]
Hello,
I am trying to make an API call on Resource Management Reports API, it works fine until I pass the group_by parameter then i receive the subject error (500: Internal error) although the group_by is one of the parameters that we can pass according to the API documentation and by default if not passed its (group_by: 'project_id').
any idea how to solve this issue ?
Before passing group by parameter:
After passing group by parameter:
Answers
-
Hey @Tamer Moustafa
The correct format for
group_by
is an array indicated by a square bracket (like in the output you screen captured above). If you want to group just by the discipline, you would need to still set that as a one-item array with the string'discipline'
in your tools/script, e.g.['discipline']
.Here's more information:
Cheers,
Genevieve
Need more help? 👀 | Help and Learning Center
こんにちは (Konnichiwa), Hallo, Hola, Bonjour, Olá, Ciao! 👋 | Global Discussions
-
Thanks @Genevieve P. for your answer, I have tried this as well, it's not working after passing the group_by Parameter, kindly see the below screenshots with and without group_by.
Without group_by (working fine)
After adding group_by (Internal Error):
-
Hey @Tamer Moustafa
Would you mind testing an array, just to make sure the rest of the structure is set up properly? (Grouping by more than one element)
Need more help? 👀 | Help and Learning Center
こんにちは (Konnichiwa), Hallo, Hola, Bonjour, Olá, Ciao! 👋 | Global Discussions
-
Hi @Genevieve P. , I got the same result, below is the screenshot
-
Hey @Tamer Moustafa
Thanks for testing and confirming! At this point I would recommend opening a Support Ticket so we can continue to troubleshoot in a private channel where you can share more information. Please include all of these screen captures and the steps you have tried.
Thank you,
Genevieve
Need more help? 👀 | Help and Learning Center
こんにちは (Konnichiwa), Hallo, Hola, Bonjour, Olá, Ciao! 👋 | Global Discussions
-
Thanks @Genevieve P. for trying .. I have already raised a ticket, shall I share the ticket number ?
-
Thanks for contacting Support!
The only other thing I can think of testing while you wait to hear back is to ensure that this Group value is a valid value to group by - you can test this by doing the same action in the Resource Management UI and make sure the Grouping works when you add these parameters.
Need more help? 👀 | Help and Learning Center
こんにちは (Konnichiwa), Hallo, Hola, Bonjour, Olá, Ciao! 👋 | Global Discussions
-
Hi @Genevieve P. .. That's good idea .. it's working, please see the below screenshot
-
In reference to the above, So definitely we need support team assistance @Genevieve P. 😊
-
Hi @Genevieve P. , I have solved the problem, it seems i have to pass the array it self as a string as shown in the below screenshot, its now working fine
-
I have a problem now passing the time frame, I am passing it as an object but I am getting error.
Categories
- All Categories
- 14 Welcome to the Community
- Smartsheet Customer Resources
- 64.1K Get Help
- 414 Global Discussions
- 221 Industry Talk
- 461 Announcements
- 4.8K Ideas & Feature Requests
- 143 Brandfolder
- 141 Just for fun
- 58 Community Job Board
- 462 Show & Tell
- 32 Member Spotlight
- 1 SmartStories
- 299 Events
- 38 Webinars
- 7.3K Forum Archives