- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
11-12-2024 02:16 AM

- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
11-13-2024 01:48 AM
Couple issues
request.body isn't the actual content but an object of different ways to access the body. request.body.data is likely what you're wanting.
Also, on the GlideRecord, you need to pass in the table name as new GlideRecord('incident')
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
11-15-2024 01:47 AM
Can you log out whats request.body.data contains ? - check if anything is received
Can you provide the exact error you get - its hard to figure out when its just "500".
You should get a message with whats failing.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
11-15-2024 03:48 AM
If you go into your outbound rest
Fill in some dummy data as a JSON payload
Theres an error in my payload.
Save it and click on the related link "Test"
Then you will get a bit more details. - in my case its duo to invalid JSON payload
Maybe this can help out on whats going on.
Once fixed - you should receive status 200