- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
01-14-2025 08:27 AM
Hello All,]
Appreciate your help in advance.
I'm very new to the REST API/ I'm dealing with code from another developer.
We are integrating with Sailpoint to create a request.
I get a 200 response. But the short description and description does not get populated.
Please let me know where to look for debugging or do you see any thing in the script that has to be modified.
Here is the scripted rest resource:
Solved! Go to Solution.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
01-14-2025 08:38 AM
Hi @Shree Nag ,
Could you please try to add some logs and print the request body? something like - gs.info('Request Body: ' + JSON.stringify(request.body));
You are trying to access request.body.data.short_description and request.body.data.Description to populate the fields. Be ensure that the incoming request payload has the correct structure.
If my answer solves your issue, please mark it as Accepted✔️ & Helpful👍!
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
01-14-2025 08:38 AM
Hi @Shree Nag ,
Could you please try to add some logs and print the request body? something like - gs.info('Request Body: ' + JSON.stringify(request.body));
You are trying to access request.body.data.short_description and request.body.data.Description to populate the fields. Be ensure that the incoming request payload has the correct structure.
If my answer solves your issue, please mark it as Accepted✔️ & Helpful👍!
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
01-14-2025 09:20 AM
Thank you for the quick response. I will try and get back soon.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
01-14-2025 10:04 AM
Thank you.
The short description request had to be changed to short_description.
I could make it out from teh request body.
Thanks again.