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
- Customer Resources
- 64.8K Get Help
- 438 Global Discussions
- 138 Industry Talk
- 470 Announcements
- 4.9K Ideas & Feature Requests
- 129 Brandfolder
- 148 Just for fun
- 67 Community Job Board
- 486 Show & Tell
- 33 Member Spotlight
- 2 SmartStories
- 300 Events
- 36 Webinars
- 7.3K Forum Archives