Options
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
03-27-2025 05:21 AM
Hello @Shane Monroe ,
401 typically indicates a Authentication issue. Try overriding the authentication profiles by adding below code if you are using a basic authorization:
client.setBasicAuth(username,Password);
You can either test your configuration through "System Web Services -> Outbound -> REST Message". This also gives you a ready code that can be used in any server side script using "Preview script usage".
If this solution helped resolve your issue, please consider marking it as helpful or correct.
This will assist others in finding the solution faster and close the thread.